[llvm-bugs] [Bug 46703] New: [x86] Add support for far absolute jumps in .intel_syntax mode

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 13 02:53:53 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46703

            Bug ID: 46703
           Summary: [x86] Add support for far absolute jumps in
                    .intel_syntax mode
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: jean-michel.gorius at ens-rennes.fr
                CC: llvm-bugs at lists.llvm.org

It is currently not possible to compile code such as

> .intel_syntax noprefix
> .code16
> jmp 0x0000:0x1234

with clang. If we want to use a far absolute jump, we have to use the
.att_syntax alternative

> ljmpw $0x0000, $0x1234

This forces the user to switch to .att_syntax when inserting a far absolute
jump and going back to .intel_syntax afterward.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200713/30c8975c/attachment.html>


More information about the llvm-bugs mailing list