Skip to content

Commit 16b855c

Browse files
committed
resolve comments
1 parent 19eb5f0 commit 16b855c

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

llvm/lib/Target/X86/X86InstrArithmetic.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,12 +1322,12 @@ multiclass AndN<X86TypeInfo t, SDPatternOperator node, string suffix = ""> {
13221322
def rr#suffix : ITy<0xF2, MRMSrcReg, t, (outs t.RegClass:$dst),
13231323
(ins t.RegClass:$src1, t.RegClass:$src2), "andn",
13241324
binop_ndd_args, andn_rr_p>, VVVV, Sched<[WriteALU]>,
1325-
T8;
1325+
T8, NoCD8;
13261326
def rm#suffix : ITy<0xF2, MRMSrcMem, t, (outs t.RegClass:$dst),
13271327
(ins t.RegClass:$src1, t.MemOperand:$src2), "andn",
13281328
binop_ndd_args, andn_rm_p>, VVVV,
13291329
Sched<[WriteALU.Folded, WriteALU.ReadAfterFold]>,
1330-
T8;
1330+
T8, NoCD8;
13311331
}
13321332

13331333
// Complexity is reduced to give and with immediate a chance to match first.

llvm/test/MC/Disassembler/X86/apx/andn.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919

2020
# ATT: {nf} andnl 123(%rax,%rbx,4), %ecx, %edx
2121
# INTEL: {nf} andn edx, ecx, dword ptr [rax + 4*rbx + 123]
22-
0x62,0xf2,0x74,0x0c,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00
22+
0x62,0xf2,0x74,0x0c,0xf2,0x54,0x98,0x7b
2323

2424
# ATT: andnl 123(%rax,%rbx,4), %ecx, %edx
2525
# INTEL: andn edx, ecx, dword ptr [rax + 4*rbx + 123]
26-
0x62,0xf2,0x74,0x08,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00
26+
0x62,0xf2,0x74,0x08,0xf2,0x54,0x98,0x7b
2727

2828
# ATT: {nf} andnq 123(%rax,%rbx,4), %r9, %r15
2929
# INTEL: {nf} andn r15, r9, qword ptr [rax + 4*rbx + 123]
30-
0x62,0x72,0xb4,0x0c,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00
30+
0x62,0x72,0xb4,0x0c,0xf2,0x7c,0x98,0x7b
3131

3232
# ATT: andnq 123(%rax,%rbx,4), %r9, %r15
3333
# INTEL: andn r15, r9, qword ptr [rax + 4*rbx + 123]
34-
0x62,0x72,0xb4,0x08,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00
34+
0x62,0x72,0xb4,0x08,0xf2,0x7c,0x98,0x7b
3535

3636
# ATT: andnl %r18d, %r22d, %r26d
3737
# INTEL: andn r26d, r22d, r18d

llvm/test/MC/X86/apx/andn-att.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
{evex} andnq %r9, %r15, %r11
2121

2222
# CHECK: {nf} andnl 123(%rax,%rbx,4), %ecx, %edx
23-
# CHECK: encoding: [0x62,0xf2,0x74,0x0c,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00]
23+
# CHECK: encoding: [0x62,0xf2,0x74,0x0c,0xf2,0x54,0x98,0x7b]
2424
{nf} andnl 123(%rax,%rbx,4), %ecx, %edx
2525

2626
# CHECK: {evex} andnl 123(%rax,%rbx,4), %ecx, %edx
27-
# CHECK: encoding: [0x62,0xf2,0x74,0x08,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00]
27+
# CHECK: encoding: [0x62,0xf2,0x74,0x08,0xf2,0x54,0x98,0x7b]
2828
{evex} andnl 123(%rax,%rbx,4), %ecx, %edx
2929

3030
# CHECK: {nf} andnq 123(%rax,%rbx,4), %r9, %r15
31-
# CHECK: encoding: [0x62,0x72,0xb4,0x0c,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00]
31+
# CHECK: encoding: [0x62,0x72,0xb4,0x0c,0xf2,0x7c,0x98,0x7b]
3232
{nf} andnq 123(%rax,%rbx,4), %r9, %r15
3333

3434
# CHECK: {evex} andnq 123(%rax,%rbx,4), %r9, %r15
35-
# CHECK: encoding: [0x62,0x72,0xb4,0x08,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00]
35+
# CHECK: encoding: [0x62,0x72,0xb4,0x08,0xf2,0x7c,0x98,0x7b]
3636
{evex} andnq 123(%rax,%rbx,4), %r9, %r15
3737

3838
# CHECK: andnl %r18d, %r22d, %r26d

llvm/test/MC/X86/apx/andn-intel.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
{evex} andn r11, r15, r9
1818

1919
# CHECK: {nf} andn edx, ecx, dword ptr [rax + 4*rbx + 123]
20-
# CHECK: encoding: [0x62,0xf2,0x74,0x0c,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00]
20+
# CHECK: encoding: [0x62,0xf2,0x74,0x0c,0xf2,0x54,0x98,0x7b]
2121
{nf} andn edx, ecx, dword ptr [rax + 4*rbx + 123]
2222

2323
# CHECK: {evex} andn edx, ecx, dword ptr [rax + 4*rbx + 123]
24-
# CHECK: encoding: [0x62,0xf2,0x74,0x08,0xf2,0x94,0x98,0x7b,0x00,0x00,0x00]
24+
# CHECK: encoding: [0x62,0xf2,0x74,0x08,0xf2,0x54,0x98,0x7b]
2525
{evex} andn edx, ecx, dword ptr [rax + 4*rbx + 123]
2626

2727
# CHECK: {nf} andn r15, r9, qword ptr [rax + 4*rbx + 123]
28-
# CHECK: encoding: [0x62,0x72,0xb4,0x0c,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00]
28+
# CHECK: encoding: [0x62,0x72,0xb4,0x0c,0xf2,0x7c,0x98,0x7b]
2929
{nf} andn r15, r9, qword ptr [rax + 4*rbx + 123]
3030

3131
# CHECK: {evex} andn r15, r9, qword ptr [rax + 4*rbx + 123]
32-
# CHECK: encoding: [0x62,0x72,0xb4,0x08,0xf2,0xbc,0x98,0x7b,0x00,0x00,0x00]
32+
# CHECK: encoding: [0x62,0x72,0xb4,0x08,0xf2,0x7c,0x98,0x7b]
3333
{evex} andn r15, r9, qword ptr [rax + 4*rbx + 123]
3434

3535
# CHECK: andn r26d, r22d, r18d

0 commit comments

Comments
 (0)