brintos

brintos / llvm-project-archived public Read only

0
0
Text · 562 B · 54a0e49 Raw
17 lines · plain
1# REQUIRES: exegesis-can-measure-latency, x86_64-linux2 3# Check that the snippet we generate is exactly the same between runs when we4# use a fixed RNG seed.5 6# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -opcode-name=ADD64rr --benchmark-phase=prepare-snippet -random-generator-seed=5 | FileCheck %s7 8# CHECK: ---9# CHECK: mode:            latency10# CHECK: key:11# CHECK:   instructions:12# CHECK:     - 'ADD64rr RCX RCX RAX'13# CHECK:   config:          ''14# CHECK:   register_initial_values:15# CHECK:     - 'RCX=0x0'16# CHECK:     - 'RAX=0x0'17