[PATCH] D51534: [X86][BtVer2] Remove wrong ReadAdvance from AVX vbroadcast(ss|sd|F128) instructions.
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 31 09:06:51 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL341222: [X86][BtVer2] Remove wrong ReadAdvance from AVX vbroadcast(ss|sd|f128)… (authored by adibiagio, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D51534?vs=163495&id=163546#toc
Repository:
rL LLVM
https://reviews.llvm.org/D51534
Files:
llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td
llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
Index: llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
===================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
+++ llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
@@ -6,7 +6,7 @@
# CHECK: Iterations: 100
# CHECK-NEXT: Instructions: 200
-# CHECK-NEXT: Total Cycles: 208
+# CHECK-NEXT: Total Cycles: 209
# CHECK-NEXT: Total uOps: 300
# CHECK: Dispatch Width: 2
@@ -52,22 +52,22 @@
# CHECK-NEXT: - - - 2.00 2.00 1.00 1.00 1.00 - - - - - - vbroadcastss (%rax), %ymm0
# CHECK: Timeline view:
-# CHECK-NEXT: 0123
+# CHECK-NEXT: 01234
# CHECK-NEXT: Index 0123456789
-# CHECK: [0,0] DeeER. . . leaq 8(%rsp,%rdi,2), %rax
-# CHECK-NEXT: [0,1] .DeeeeeeER. . vbroadcastss (%rax), %ymm0
-# CHECK-NEXT: [1,0] . DeeE---R. . leaq 8(%rsp,%rdi,2), %rax
-# CHECK-NEXT: [1,1] . DeeeeeeER . vbroadcastss (%rax), %ymm0
-# CHECK-NEXT: [2,0] . DeeE---R . leaq 8(%rsp,%rdi,2), %rax
-# CHECK-NEXT: [2,1] . DeeeeeeER vbroadcastss (%rax), %ymm0
+# CHECK: [0,0] DeeER. . . leaq 8(%rsp,%rdi,2), %rax
+# CHECK-NEXT: [0,1] .D=eeeeeeER . vbroadcastss (%rax), %ymm0
+# CHECK-NEXT: [1,0] . DeeE----R . leaq 8(%rsp,%rdi,2), %rax
+# CHECK-NEXT: [1,1] . D=eeeeeeER . vbroadcastss (%rax), %ymm0
+# CHECK-NEXT: [2,0] . DeeE----R . leaq 8(%rsp,%rdi,2), %rax
+# CHECK-NEXT: [2,1] . D=eeeeeeER vbroadcastss (%rax), %ymm0
# CHECK: Average Wait times (based on the timeline view):
# CHECK-NEXT: [0]: Executions
# CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
# CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
# CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
# CHECK: [0] [1] [2] [3]
-# CHECK-NEXT: 0. 3 1.0 1.0 2.0 leaq 8(%rsp,%rdi,2), %rax
-# CHECK-NEXT: 1. 3 1.0 1.0 0.0 vbroadcastss (%rax), %ymm0
+# CHECK-NEXT: 0. 3 1.0 1.0 2.7 leaq 8(%rsp,%rdi,2), %rax
+# CHECK-NEXT: 1. 3 2.0 0.0 0.0 vbroadcastss (%rax), %ymm0
Index: llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td
+++ llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td
@@ -570,9 +570,9 @@
let ResourceCycles = [1, 2, 4];
let NumMicroOps = 2;
}
-def : InstRW<[JWriteVBROADCASTYLd, ReadAfterLd], (instrs VBROADCASTSDYrm,
- VBROADCASTSSYrm,
- VBROADCASTF128)>;
+def : InstRW<[JWriteVBROADCASTYLd], (instrs VBROADCASTSDYrm,
+ VBROADCASTSSYrm,
+ VBROADCASTF128)>;
def JWriteJVZEROALL: SchedWriteRes<[]> {
let Latency = 90;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51534.163546.patch
Type: text/x-patch
Size: 3144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/dc2df286/attachment.bin>
More information about the llvm-commits
mailing list