Ignore:
Timestamp:
Nov 2, 2019, 1:12:38 PM (6 years ago)
Author:
[email protected]
Message:

The offline assembler is wrong about which immediates are supported by and/or/xor on ARM64
https://bugs.webkit.org/show_bug.cgi?id=203752

Reviewed by Tadeu Zagallo.

See https://dinfuehr.github.io/blog/encoding-of-immediate-values-on-aarch64/ for the details of which immediates are supported.
This patch is a minimal fix, ideally we should refactor all of the code dealing with immediates in risc.rb, but considering that I don't know ruby and this code is poorly/not tested, I went for the simplest possible fix.

  • offlineasm/arm64.rb:
  • offlineasm/mips.rb:
  • offlineasm/risc.rb:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r251963 r251966  
     12019-11-02  Robin Morisset  <[email protected]>
     2
     3        The offline assembler is wrong about which immediates are supported by and/or/xor on ARM64
     4        https://bugs.webkit.org/show_bug.cgi?id=203752
     5
     6        Reviewed by Tadeu Zagallo.
     7
     8        See https://dinfuehr.github.io/blog/encoding-of-immediate-values-on-aarch64/ for the details of which immediates are supported.
     9        This patch is a minimal fix, ideally we should refactor all of the code dealing with immediates in risc.rb, but considering that I don't know ruby and this code is poorly/not tested, I went for the simplest possible fix.
     10
     11        * offlineasm/arm64.rb:
     12        * offlineasm/mips.rb:
     13        * offlineasm/risc.rb:
     14
    1152019-11-02  Devin Rousso  <[email protected]>
    216
Note: See TracChangeset for help on using the changeset viewer.