@@ -8,7 +8,7 @@ define void @neg_8bit_1(i1 %cmp) {
88; NDD-NEXT: andb $1, %dil, %al # encoding: [0x62,0xf4,0x7c,0x18,0x80,0xe7,0x01]
99; NDD-NEXT: movzbl 0, %ecx # encoding: [0x0f,0xb6,0x0c,0x25,0x00,0x00,0x00,0x00]
1010; NDD-NEXT: negb %al, %al # encoding: [0x62,0xf4,0x7c,0x18,0xf6,0xd8]
11- ; NDD-NEXT: leab 2(%rcx,%rax), %al # encoding: [0x66, 0x8d,0x44,0x01,0x02]
11+ ; NDD-NEXT: leal 2(%rcx,%rax), %eax # encoding: [0x8d,0x44,0x01,0x02]
1212; NDD-NEXT: movb %al, 0 # encoding: [0x88,0x04,0x25,0x00,0x00,0x00,0x00]
1313; NDD-NEXT: retq # encoding: [0xc3]
1414entry:
@@ -25,7 +25,8 @@ define void @neg_8bit_2(i8 %int8) {
2525; NDD-NEXT: # kill: def $edi killed $edi def $rdi
2626; NDD-NEXT: addb %dil, %dil, %al # encoding: [0x62,0xf4,0x7c,0x18,0x00,0xff]
2727; NDD-NEXT: negb %al, %al # encoding: [0x62,0xf4,0x7c,0x18,0xf6,0xd8]
28- ; NDD-NEXT: leab 1(%rdi,%rax), %al # encoding: [0x66,0x8d,0x44,0x07,0x01]
28+ ; NDD-NEXT: leal 1(%rdi,%rax), %eax # encoding: [0x8d,0x44,0x07,0x01]
29+ ; NDD-NEXT: # kill: def $al killed $al killed $eax
2930; NDD-NEXT: mulb %dil # encoding: [0x40,0xf6,0xe7]
3031; NDD-NEXT: testb %al, %al # encoding: [0x84,0xc0]
3132; NDD-NEXT: retq # encoding: [0xc3]
@@ -55,7 +56,7 @@ define i32 @neg_16bit(i16 %0) {
5556; NDD-NEXT: cmovsl %ecx, %eax # EVEX TO LEGACY Compression encoding: [0x0f,0x48,0xc1]
5657; NDD-NEXT: andw $-256, %ax # EVEX TO LEGACY Compression encoding: [0x66,0x25,0x00,0xff]
5758; NDD-NEXT: negw %ax, %ax # encoding: [0x62,0xf4,0x7d,0x18,0xf7,0xd8]
58- ; NDD-NEXT: leaw 1(%rdi,%rax), %ax # encoding: [0x66, 0x8d,0x44,0x07,0x01]
59+ ; NDD-NEXT: leal 1(%rdi,%rax), %eax # encoding: [0x8d,0x44,0x07,0x01]
5960; NDD-NEXT: movzwl %ax, %eax # encoding: [0x0f,0xb7,0xc0]
6061; NDD-NEXT: movq %rax, 0 # encoding: [0x48,0x89,0x04,0x25,0x00,0x00,0x00,0x00]
6162; NDD-NEXT: xorl %eax, %eax # encoding: [0x31,0xc0]
0 commit comments