| Index: tests_lit/assembler/x86/immediate_encodings.ll
|
| diff --git a/tests_lit/assembler/x86/immediate_encodings.ll b/tests_lit/assembler/x86/immediate_encodings.ll
|
| index c829f1b21e14ab68d26cee36ecd6c0dc1682712b..42443f1627dc42933f02c14adb0532686af94d1b 100644
|
| --- a/tests_lit/assembler/x86/immediate_encodings.ll
|
| +++ b/tests_lit/assembler/x86/immediate_encodings.ll
|
| @@ -197,13 +197,13 @@ entry:
|
| define internal i32 @testMul16Imm16(i32 %arg) {
|
| entry:
|
| %arg_i16 = trunc i32 %arg to i16
|
| - %tmp = mul i16 %arg_i16, 1024
|
| + %tmp = mul i16 %arg_i16, 1025
|
| %result_i16 = add i16 %tmp, 1
|
| %result = zext i16 %result_i16 to i32
|
| ret i32 %result
|
| }
|
| ; CHECK-LABEL: testMul16Imm16
|
| -; CHECK: 66 69 c0 00 04 imul ax,ax
|
| +; CHECK: 66 69 c0 01 04 imul ax,ax
|
| ; CHECK-NEXT: add ax,0x1
|
|
|
| define internal i32 @testMul16Imm16Neg(i32 %arg) {
|
| @@ -236,11 +236,11 @@ entry:
|
|
|
| define internal i32 @testMul32Imm16(i32 %arg) {
|
| entry:
|
| - %result = mul i32 %arg, 1024
|
| + %result = mul i32 %arg, 1025
|
| ret i32 %result
|
| }
|
| ; CHECK-LABEL: testMul32Imm16
|
| -; CHECK: 69 c0 00 04 00 00 imul eax,eax
|
| +; CHECK: 69 c0 01 04 00 00 imul eax,eax
|
|
|
| define internal i32 @testMul32Imm16Neg(i32 %arg) {
|
| entry:
|
|
|