mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Correct immediate sizes.
llvm-svn: 97957
This commit is contained in:
parent
b198628a6b
commit
6ba2e68770
@ -2473,7 +2473,7 @@ let isTwoAddress = 1 in {
|
||||
defm PINSRQ : SS41I_insert64<0x22, "pinsrq">;
|
||||
|
||||
// -disable-16bit support.
|
||||
def : Pat<(truncstorei16 (i64 imm:$src), addr:$dst),
|
||||
def : Pat<(truncstorei16 (i16 imm:$src), addr:$dst),
|
||||
(MOV16mi addr:$dst, imm:$src)>;
|
||||
def : Pat<(truncstorei16 GR64:$src, addr:$dst),
|
||||
(MOV16mr addr:$dst, (EXTRACT_SUBREG GR64:$src, x86_subreg_16bit))>;
|
||||
|
@ -5150,7 +5150,7 @@ def : Pat<(parallel (store (X86and_flag (loadi32 addr:$dst), i32immSExt8:$src2),
|
||||
(AND32mi8 addr:$dst, i32immSExt8:$src2)>;
|
||||
|
||||
// -disable-16bit support.
|
||||
def : Pat<(truncstorei16 (i32 imm:$src), addr:$dst),
|
||||
def : Pat<(truncstorei16 (i16 imm:$src), addr:$dst),
|
||||
(MOV16mi addr:$dst, imm:$src)>;
|
||||
def : Pat<(truncstorei16 GR32:$src, addr:$dst),
|
||||
(MOV16mr addr:$dst, (EXTRACT_SUBREG GR32:$src, x86_subreg_16bit))>;
|
||||
|
Loading…
Reference in New Issue
Block a user