| 1 |
; FIXME: this test fails with a stage2 build, in which case it seems to |
| 2 |
; generate extra function prologue instructions that interfere with matching |
| 3 |
; the STR of X19. Disable this for now. |
| 4 |
; |
| 5 |
; UNSUPPORTED: target={{.*}} |
| 6 |
|
| 7 |
REQUIRES: aarch64-registered-target, asserts |
| 8 |
|
| 9 |
RUN: 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 %s |
| 10 |
|
| 11 |
CHECK: str x19, [sp, #-16]! |
| 12 |
CHECK-NEXT: movi d[[REG:[0-9]+]], #0000000000000000 |
| 13 |
CHECK-NEXT: mov x19, #10000 |
| 14 |
CHECK-NEXT: nop |
| 15 |
CHECK-NEXT: nop |
| 16 |
CHECK-NEXT: nop |
| 17 |
CHECK-NEXT: nop |
| 18 |
CHECK-NEXT: nop |
| 19 |
CHECK-NEXT: addv h[[REG]], v[[REG]].4h |
| 20 |
CHECK-NEXT: subs x19, x19, #1 |
| 21 |
CHECK-NEXT: b.ne #-8 |
| 22 |
CHECK-NEXT: ldr x19, [sp], #16 |
| 23 |
CHECK-NEXT: ret |