blob: 81ca75251381ad1e2179db7a43e8ef0030c975aa [file] [log] [blame]
# REQUIRES: exegesis-can-measure-latency, x86_64-linux
# Test that specifying the loop register to use works as expected.
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s | FileCheck %s
# CHECK: measurements:
# LLVM-EXEGESIS-DEFREG R11 ff
# LLVM-EXEGESIS-LOOP-REGISTER R12
addq $0xff, %r11