1# REQUIRES: exegesis-can-measure-latency, exegesis-can-measure-uops, x86_64-linux 2 3# Check that when specifying validation counters, the validation counter is 4# collected and the information is displayed in the output. Test across 5# multiple configurations that need to be wired up separately for validation 6# counter support. 7 8# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr --validation-counter=instructions-retired | FileCheck %s 9# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr --validation-counter=instructions-retired -execution-mode=subprocess | FileCheck %s 10# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=uops -opcode-name=ADD64rr --validation-counter=instructions-retired -execution-mode=subprocess | FileCheck %s 11 12# CHECK: instructions-retired: {{[0-9]+}} 13