1 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=uops --benchmark-phase=assemble-measured-code -opcode-name=CMOV16rm -benchmarks-file=- | FileCheck %s -check-prefixes=CHECK-YAML
3 # https://bugs.llvm.org/show_bug.cgi?id=41448
4 # Verify that we correctly serialize RegNo 0 as %noreg, not as an empty string!
7 CHECK-YAML-NEXT
: mode
: uops
9 CHECK-YAML-NEXT
: instructions
:
10 CHECK-YAML-NEXT
: - 'CMOV16rm {{[A-Z0-9]+}} {{[A-Z0-9]+}} {{[A-Z0-9]+}} i_0x1 %noreg i_0x0 %noreg i_0x{{[0-9a-f]}}'