Merge pull request #1827 from lasek0/fix_x86-16_lcall_seg_off

fix lcall seg:off format for x86-16
This commit is contained in:
Wu ChenXu 2022-01-24 11:24:30 +08:00 committed by GitHub
commit 50a41e8670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -250,11 +250,11 @@ let isCall = 1 in
let Predicates = [Not64BitMode], AsmVariantName = "att" in {
def FARCALL16i : Iseg16<0x9A, RawFrmImm16, (outs),
(ins i16imm:$off, i16imm:$seg),
"lcall{w}\t$seg, $off", []>,
"lcall{w}\t$seg : $off", []>,
OpSize16, Sched<[WriteJump]>;
def FARCALL32i : Iseg32<0x9A, RawFrmImm16, (outs),
(ins i32imm:$off, i16imm:$seg),
"lcall{l}\t$seg, $off", []>,
"lcall{l}\t$seg : $off", []>,
OpSize32, Sched<[WriteJump]>;
}

View File

@ -250,11 +250,11 @@ let isCall = 1 in
let Predicates = [Not64BitMode], AsmVariantName = "att" in {
def FARCALL16i : Iseg16<0x9A, RawFrmImm16, (outs),
(ins i16imm:$off, i16imm:$seg),
"lcall{w}\t$seg, $off", []>,
"lcall{w}\t$seg : $off", []>,
OpSize16, Sched<[WriteJump]>;
def FARCALL32i : Iseg32<0x9A, RawFrmImm16, (outs),
(ins i32imm:$off, i16imm:$seg),
"lcall{l}\t$seg, $off", []>,
"lcall{l}\t$seg : $off", []>,
OpSize32, Sched<[WriteJump]>;
}