Require prefix of instruction line to be the expected instruction
`rsqrtps %xmm0,%xmm1` used to match `sqrtps` without leading `r`.
This commit is contained in:
parent
1772dc0ebf
commit
dd65ed38db
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ pub fn assert(_fnptr: usize, fnname: &str, expected: &str) {
|
|||
|
||||
// Look for `expected` as the first part of any instruction in this
|
||||
// function, e.g., tzcntl in tzcntl %rax,%rax.
|
||||
let found = instrs.iter().any(|s| s.contains(expected));
|
||||
let found = instrs.iter().any(|s| s.starts_with(expected));
|
||||
|
||||
// Look for `call` instructions in the disassembly to detect whether
|
||||
// inlining failed: all intrinsics are `#[inline(always)]`, so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue