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