OSDN Git Service

Always use xorps to clear XMM registers.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jun 2006 00:34:23 +0000 (00:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jun 2006 00:34:23 +0000 (00:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28979 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 284d48b..f4d3d0e 100644 (file)
@@ -2116,7 +2116,7 @@ def V_SET0_PS : PSI<0x57, MRMInitReg, (ops VR128:$dst),
                     "xorps $dst, $dst",
                     [(set VR128:$dst, (v4f32 immAllZerosV))]>;
 def V_SET0_PD : PDI<0x57, MRMInitReg, (ops VR128:$dst),
-                    "xorpd $dst, $dst",
+                    "xorps $dst, $dst",
                     [(set VR128:$dst, (v2f64 immAllZerosV))]>;
 
 def V_SETALLONES : PDI<0x76, MRMInitReg, (ops VR128:$dst),