Fixed an encoding bug: movd from XMM to R32.

llvm-svn: 27807
This commit is contained in:
Evan Cheng 2006-04-18 18:19:00 +00:00
parent 1e174c87c3
commit e2d25a1a50
1 changed files with 1 additions and 1 deletions

View File

@ -2179,7 +2179,7 @@ def MOVPD2SDrr : SDI<0x10, MRMSrcReg, (ops FR64:$dst, VR128:$src),
"movsd {$src, $dst|$dst, $src}",
[(set FR64:$dst, (vector_extract (v2f64 VR128:$src),
(i32 0)))]>;
def MOVPDI2DIrr : PDI<0x7E, MRMSrcReg, (ops R32:$dst, VR128:$src),
def MOVPDI2DIrr : PDI<0x7E, MRMDestReg, (ops R32:$dst, VR128:$src),
"movd {$src, $dst|$dst, $src}",
[(set R32:$dst, (vector_extract (v4i32 VR128:$src),
(i32 0)))]>;