brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · f61bce1 Raw
49 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s3 4# The vmul can start executing 3cy in advance. That is beause the first use5# operand (i.e. %xmm1) is a ReadAfterLd. That means, the memory operand is6# evaluated before %xmm1.7 8vaddps  %xmm0, %xmm0, %xmm19vmulps  (%rdi), %xmm1, %xmm210 11# CHECK:      Iterations:        112# CHECK-NEXT: Instructions:      213# CHECK-NEXT: Total Cycles:      1014# CHECK-NEXT: Total uOps:        215 16# CHECK:      Dispatch Width:    217# CHECK-NEXT: uOps Per Cycle:    0.2018# CHECK-NEXT: IPC:               0.2019# CHECK-NEXT: Block RThroughput: 1.020 21# CHECK:      Instruction Info:22# CHECK-NEXT: [1]: #uOps23# CHECK-NEXT: [2]: Latency24# CHECK-NEXT: [3]: RThroughput25# CHECK-NEXT: [4]: MayLoad26# CHECK-NEXT: [5]: MayStore27# CHECK-NEXT: [6]: HasSideEffects (U)28 29# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:30# CHECK-NEXT:  1      3     1.00                        vaddps	%xmm0, %xmm0, %xmm131# CHECK-NEXT:  1      7     1.00    *                   vmulps	(%rdi), %xmm1, %xmm232 33# CHECK:      Timeline view:34# CHECK-NEXT: Index     012345678935 36# CHECK:      [0,0]     DeeeER   .   vaddps	%xmm0, %xmm0, %xmm137# CHECK-NEXT: [0,1]     DeeeeeeeER   vmulps	(%rdi), %xmm1, %xmm238 39# CHECK:      Average Wait times (based on the timeline view):40# CHECK-NEXT: [0]: Executions41# CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue42# CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready43# CHECK-NEXT: [3]: Average time elapsed from WB until retire stage44 45# CHECK:            [0]    [1]    [2]    [3]46# CHECK-NEXT: 0.     1     1.0    1.0    0.0       vaddps	%xmm0, %xmm0, %xmm147# CHECK-NEXT: 1.     1     1.0    0.0    0.0       vmulps	(%rdi), %xmm1, %xmm248# CHECK-NEXT:        1     1.0    0.5    0.0       <total>49