Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/assembler_x86.hpp @ 7474:00af3a3a8df4
8005522: use fast-string instructions on x86 for zeroing
Summary: use 'rep stosb' instead of 'rep stosq' when fast-string operations are available.
Reviewed-by: twisti, roland
author | kvn |
---|---|
date | Thu, 03 Jan 2013 15:09:55 -0800 |
parents | f0c2369fda5a |
children | e2e6bf86682c |
comparison
equal
deleted
inserted
replaced
7473:d092d1b31229 | 7474:00af3a3a8df4 |
---|---|
830 void push(void* v); | 830 void push(void* v); |
831 void pop(void* v); | 831 void pop(void* v); |
832 | 832 |
833 // These do register sized moves/scans | 833 // These do register sized moves/scans |
834 void rep_mov(); | 834 void rep_mov(); |
835 void rep_set(); | 835 void rep_stos(); |
836 void rep_stosb(); | |
836 void repne_scan(); | 837 void repne_scan(); |
837 #ifdef _LP64 | 838 #ifdef _LP64 |
838 void repne_scanl(); | 839 void repne_scanl(); |
839 #endif | 840 #endif |
840 | 841 |