brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 7cd088f Raw
22 lines · plain
1REQUIRES: aarch64-registered-target, asserts2 3RUN: llvm-exegesis -mcpu=neoverse-v2 --use-dummy-perf-counters --min-instructions=100 --mode=latency --debug-only=preview-gen-assembly --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PREVIEW4 5PREVIEW: Generated assembly snippet:6PREVIEW-NEXT: ```7PREVIEW:      {{[04]}}: {{.*}}      movi    d{{[0-9]+}}, #00000000000000008PREVIEW-NEXT: {{[48]}}: {{.*}}      addv    h{{[0-9]+}}, v{{[0-9]+}}.4h9PREVIEW:      ...      ({{[0-9]+}} more instructions)10PREVIEW-NEXT: {{.*}}   addv    h{{[0-9]+}}, v{{[0-9]+}}.4h11PREVIEW:      {{.*}}   ret12PREVIEW-NEXT:```13 14RUN: llvm-exegesis -mcpu=neoverse-v2 --use-dummy-perf-counters --min-instructions=100 --mode=latency --debug-only=print-gen-assembly  --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PRINT15PRINT: Generated assembly snippet:16PRINT-NEXT: ```17PRINT:      {{[04]}}: {{.*}}      movi    d{{[0-9]+}}, #000000000000000018PRINT-NEXT: {{[48]}}: {{.*}}      addv    h{{[0-9]+}}, v{{[0-9]+}}.4h19PRINT-NEXT: {{.*}}   addv    h{{[0-9]+}}, v{{[0-9]+}}.4h20PRINT:      {{.*}}   ret21PRINT-NEXT:```22