13 lines · plain
1# REQUIRES: exegesis-can-measure-latency, exegesis-can-measure-uops, x86_64-linux2 3# Check that when specifying validation counters, the validation counter is4# collected and the information is displayed in the output. Test across5# multiple configurations that need to be wired up separately for validation6# counter support.7 8# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr --validation-counter=instructions-retired | FileCheck %s9# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr --validation-counter=instructions-retired -execution-mode=subprocess | FileCheck %s10# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=uops -opcode-name=ADD64rr --validation-counter=instructions-retired -execution-mode=subprocess | FileCheck %s11 12# CHECK: instructions-retired: {{[0-9]+}}13