forked from OSchip/llvm-project
[X86][Btver2] TZCNT instructions take 2uops not 1
llvm-svn: 343200
This commit is contained in:
parent
7dd69f15e1
commit
98f503a326
|
@ -210,7 +210,7 @@ defm : JWriteResIntPair<WriteBSF, [JALU01], 5, [4], 8>;
|
|||
defm : JWriteResIntPair<WriteBSR, [JALU01], 5, [4], 8>;
|
||||
defm : JWriteResIntPair<WritePOPCNT, [JALU01], 1>;
|
||||
defm : JWriteResIntPair<WriteLZCNT, [JALU01], 1>;
|
||||
defm : JWriteResIntPair<WriteTZCNT, [JALU01], 2, [2]>;
|
||||
defm : JWriteResIntPair<WriteTZCNT, [JALU01], 2, [2], 2>;
|
||||
|
||||
// BMI1 BEXTR/BLS, BMI2 BZHI
|
||||
defm : JWriteResIntPair<WriteBEXTR, [JALU01], 1>;
|
||||
|
|
|
@ -66,10 +66,10 @@ tzcnt (%rax), %rcx
|
|||
# CHECK-NEXT: 1 5 1.00 * blsrl (%rax), %ecx
|
||||
# CHECK-NEXT: 1 2 1.00 blsrq %rax, %rcx
|
||||
# CHECK-NEXT: 1 5 1.00 * blsrq (%rax), %rcx
|
||||
# CHECK-NEXT: 1 2 1.00 tzcntl %eax, %ecx
|
||||
# CHECK-NEXT: 1 5 1.00 * tzcntl (%rax), %ecx
|
||||
# CHECK-NEXT: 1 2 1.00 tzcntq %rax, %rcx
|
||||
# CHECK-NEXT: 1 5 1.00 * tzcntq (%rax), %rcx
|
||||
# CHECK-NEXT: 2 2 1.00 tzcntl %eax, %ecx
|
||||
# CHECK-NEXT: 2 5 1.00 * tzcntl (%rax), %ecx
|
||||
# CHECK-NEXT: 2 2 1.00 tzcntq %rax, %rcx
|
||||
# CHECK-NEXT: 2 5 1.00 * tzcntq (%rax), %rcx
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - JALU0
|
||||
|
|
Loading…
Reference in New Issue