The h modifier is only supported by reg_abcd
This commit is contained in:
parent
9ac4ef40d4
commit
ddcdea45b6
2 changed files with 1 additions and 8 deletions
|
@ -19,7 +19,7 @@ impl X86InlineAsmRegClass {
|
|||
match self {
|
||||
Self::reg => {
|
||||
if arch == InlineAsmArch::X86_64 {
|
||||
&['l', 'h', 'x', 'e', 'r']
|
||||
&['l', 'x', 'e', 'r']
|
||||
} else {
|
||||
&['x', 'e']
|
||||
}
|
||||
|
|
|
@ -63,13 +63,6 @@ check!(reg "" reg "mov");
|
|||
#[cfg(x86_64)]
|
||||
check!(reg_l "l" reg "mov");
|
||||
|
||||
// x86_64-LABEL: reg_h:
|
||||
// x86_64: #APP
|
||||
// x86_64: mov ah, ah
|
||||
// x86_64: #NO_APP
|
||||
#[cfg(x86_64)]
|
||||
check!(reg_h "h" reg "mov");
|
||||
|
||||
// CHECK-LABEL: reg_x:
|
||||
// CHECK: #APP
|
||||
// CHECK: mov ax, ax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue