1010# RUN: | llvm-objdump --mattr=+experimental-xqcilia --no-print-imm-hex -d - \
1111# RUN: | FileCheck -check-prefix=CHECK-INST %s
1212
13- # CHECK-INST: qc.e.addai s1, -1
14- # CHECK-ENC: encoding: [0x9f,0x24,0xff,0xff,0xff,0xff ]
15- qc.e.addai x9, 4294967295
13+ # CHECK-INST: qc.e.addai s1, 2147483647
14+ # CHECK-ENC: encoding: [0x9f,0x24,0xff,0xff,0xff,0x7f ]
15+ qc.e.addai x9, 2147483647
1616
1717# CHECK-INST: qc.e.addai s1, -2147483648
1818# CHECK-ENC: encoding: [0x9f,0x24,0x00,0x00,0x00,0x80]
@@ -28,9 +28,9 @@ qc.e.addi x10, x9, -33554432
2828qc.e.addi x10, x9, 33554431
2929
3030
31- # CHECK-INST: qc.e.andai s1, -1
32- # CHECK-ENC: encoding: [0x9f,0xa4,0xff,0xff,0xff,0xff ]
33- qc.e.andai x9, 4294967295
31+ # CHECK-INST: qc.e.andai s1, 2147483647
32+ # CHECK-ENC: encoding: [0x9f,0xa4,0xff,0xff,0xff,0x7f ]
33+ qc.e.andai x9, 2147483647
3434
3535# CHECK-INST: qc.e.andai s1, -2147483648
3636# CHECK-ENC: encoding: [0x9f,0xa4,0x00,0x00,0x00,0x80]
@@ -46,9 +46,9 @@ qc.e.andi x10, x9, -33554432
4646qc.e.andi x10, x9, 33554431
4747
4848
49- # CHECK-INST: qc.e.orai s1, -1
50- # CHECK-ENC: encoding: [0x9f,0x94,0xff,0xff,0xff,0xff ]
51- qc.e.orai x9, 4294967295
49+ # CHECK-INST: qc.e.orai s1, 2147483647
50+ # CHECK-ENC: encoding: [0x9f,0x94,0xff,0xff,0xff,0x7f ]
51+ qc.e.orai x9, 2147483647
5252
5353# CHECK-INST: qc.e.orai s1, -2147483648
5454# CHECK-ENC: encoding: [0x9f,0x94,0x00,0x00,0x00,0x80]
@@ -64,9 +64,9 @@ qc.e.ori x10, x9, -33554432
6464qc.e.ori x10, x9, 33554431
6565
6666
67- # CHECK-INST: qc.e.xorai s1, -1
68- # CHECK-ENC: encoding: [0x9f,0x14,0xff,0xff,0xff,0xff ]
69- qc.e.xorai x9, 4294967295
67+ # CHECK-INST: qc.e.xorai s1, 2147483647
68+ # CHECK-ENC: encoding: [0x9f,0x14,0xff,0xff,0xff,0x7f ]
69+ qc.e.xorai x9, 2147483647
7070
7171# CHECK-INST: qc.e.xorai s1, -2147483648
7272# CHECK-ENC: encoding: [0x9f,0x14,0x00,0x00,0x00,0x80]
0 commit comments