Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8293618

x86: Wrong code generation in class Assembler

    XMLWordPrintable

Details

    • b17
    • x86
    • Not verified

    Description

      There are some mistakes in code emission of x86 Assembler:
      - testl(Address, int32_t) misses prefix(dst)
      - addw(Register, Register) misses 0x66 prefix
      - emit_operand(Register, Address) is often used incorrectly, maybe we should make the third argument explicit instead
      - Assembler should not perform optimisations that change the actual instructions emitted, move these to MacroAssembler instead

      Attachments

        Issue Links

          Activity

            People

              qamai Quan Anh Mai
              qamai Quan Anh Mai
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: