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

x86: Wrong code generation in class Assembler

XMLWordPrintable

    • b17
    • x86
    • Not verified

      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

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

              Created:
              Updated:
              Resolved: