Fix a bug where PADDQrm printed paddd instead of paddq.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-10-07 19:15:46 +00:00
parent 7c47f9a7ea
commit 5650eeb38e

View File

@ -1340,7 +1340,7 @@ def PADDQrr : PDI<0xD4, MRMSrcReg, (ops VR128:$dst, VR128:$src1, VR128:$src2),
[(set VR128:$dst, (v2i64 (add VR128:$src1, VR128:$src2)))]>;
}
def PADDQrm : PDI<0xD4, MRMSrcMem, (ops VR128:$dst, VR128:$src1, i128mem:$src2),
"paddd {$src2, $dst|$dst, $src2}",
"paddq {$src2, $dst|$dst, $src2}",
[(set VR128:$dst, (add VR128:$src1,
(loadv2i64 addr:$src2)))]>;
}