add a note

llvm-svn: 36028
This commit is contained in:
Chris Lattner 2007-04-14 23:06:09 +00:00
parent bc7533c140
commit e275463e2f
1 changed files with 18 additions and 0 deletions

View File

@ -1049,3 +1049,21 @@ int decode_byte (const decode_t* decode) {
//===---------------------------------------------------------------------===//
This:
#include <xmmintrin.h>
unsigned test(float f) {
return _mm_cvtsi128_si32( (__m128i) _mm_set_ss( f ));
}
Compiles to:
_test:
movss 4(%esp), %xmm0
movd %xmm0, %eax
ret
it should compile to a move from the stack slot directly into eax. DAGCombine
has this xform, but it is currently disabled until the alignment fields of
the load/store nodes are trustworthy.