24 lines · plain
1; FIXME: this test fails with a stage2 build, in which case it seems to2; generate extra function prologue instructions that interfere with matching3; the STR of X19. Disable this for now.4;5; UNSUPPORTED: target={{.*}}6 7REQUIRES: aarch64-registered-target, asserts8 9RUN: llvm-exegesis -mcpu=neoverse-v2 --use-dummy-perf-counters --mode=latency --debug-only=print-gen-assembly --opcode-name=ADDVv4i16v -repetition-mode=loop 2>&1 | FileCheck %s10 11CHECK: str x19, [sp, #-16]!12CHECK-NEXT: movi d[[REG:[0-9]+]], #000000000000000013CHECK-NEXT: mov x19, #1000014CHECK-NEXT: nop15CHECK-NEXT: nop16CHECK-NEXT: nop17CHECK-NEXT: nop18CHECK-NEXT: nop19CHECK-NEXT: addv h[[REG]], v[[REG]].4h20CHECK-NEXT: subs x19, x19, #121CHECK-NEXT: b.ne #-822CHECK-NEXT: ldr x19, [sp], #1623CHECK-NEXT: ret24