Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/vm_version_x86.cpp @ 6225:2c368ea3e844
7181494: cleanup avx and vectors code
Summary: renamed mach nodes which use scalar AVX instructions, added integer vectors shuffling instructions
Reviewed-by: twisti
author | kvn |
---|---|
date | Mon, 16 Jul 2012 17:10:22 -0700 |
parents | 8c92982cbbc4 |
children | 957c266d8bc5 8ae8f9dd7099 |
comparison
equal
deleted
inserted
replaced
6224:56c4f88474b3 | 6225:2c368ea3e844 |
---|---|
560 // Also, if some other prefetch style is specified, default instruction type is PREFETCHW | 560 // Also, if some other prefetch style is specified, default instruction type is PREFETCHW |
561 if (FLAG_IS_DEFAULT(AllocatePrefetchInstr)) { | 561 if (FLAG_IS_DEFAULT(AllocatePrefetchInstr)) { |
562 AllocatePrefetchInstr = 3; | 562 AllocatePrefetchInstr = 3; |
563 } | 563 } |
564 // On family 15h processors use XMM and UnalignedLoadStores for Array Copy | 564 // On family 15h processors use XMM and UnalignedLoadStores for Array Copy |
565 if( FLAG_IS_DEFAULT(UseXMMForArrayCopy) ) { | 565 if( supports_sse2() && FLAG_IS_DEFAULT(UseXMMForArrayCopy) ) { |
566 UseXMMForArrayCopy = true; | 566 UseXMMForArrayCopy = true; |
567 } | 567 } |
568 if( FLAG_IS_DEFAULT(UseUnalignedLoadStores) && UseXMMForArrayCopy ) { | 568 if( FLAG_IS_DEFAULT(UseUnalignedLoadStores) && UseXMMForArrayCopy ) { |
569 UseUnalignedLoadStores = true; | 569 UseUnalignedLoadStores = true; |
570 } | 570 } |