mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +00:00
Fix typo in packsswb instr definition, where the load had the wrong type.
This allows us to use the multiclass for other packs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5bbd6d753
commit
3dca490ff0
@ -1585,23 +1585,9 @@ defm PCMPGTW : PDI_binop_rm<0x65, "pcmpgtw", int_x86_sse2_pcmpgt_w>;
|
||||
defm PCMPGTD : PDI_binop_rm<0x66, "pcmpgtd", int_x86_sse2_pcmpgt_d>;
|
||||
|
||||
// Pack instructions
|
||||
let isTwoAddress = 1 in {
|
||||
def PACKSSWBrr : PDI<0x63, MRMSrcReg, (ops VR128:$dst, VR128:$src1,
|
||||
VR128:$src2),
|
||||
"packsswb {$src2, $dst|$dst, $src2}",
|
||||
[(set VR128:$dst, (v8i16 (int_x86_sse2_packsswb_128
|
||||
VR128:$src1,
|
||||
VR128:$src2)))]>;
|
||||
def PACKSSWBrm : PDI<0x63, MRMSrcMem, (ops VR128:$dst, VR128:$src1,
|
||||
i128mem:$src2),
|
||||
"packsswb {$src2, $dst|$dst, $src2}",
|
||||
[(set VR128:$dst, (v8i16 (int_x86_sse2_packsswb_128
|
||||
VR128:$src1,
|
||||
(bitconvert (loadv2f64 addr:$src2)))))]>;
|
||||
|
||||
defm PACKSSWB : PDI_binop_rm<0x63, "packsswb", int_x86_sse2_packsswb_128>;
|
||||
defm PACKSSDW : PDI_binop_rm<0x6B, "packssdw", int_x86_sse2_packssdw_128>;
|
||||
defm PACKUSWB : PDI_binop_rm<0x67, "packuswb", int_x86_sse2_packuswb_128>;
|
||||
}
|
||||
|
||||
// Shuffle and unpack instructions
|
||||
def PSHUFDri : PDIi8<0x70, MRMSrcReg,
|
||||
|
Loading…
Reference in New Issue
Block a user