diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-12-03 20:09:08 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-19 16:03:27 +0300 |
commit | ef3935eeebffcad148edeb81021733c262db9970 (patch) | |
tree | cba90818844fbcbc29775292eb6e5d5a40f20fab /firmware | |
parent | a264bf34424c815d4565cf1ba0e3cd56b7d5c816 (diff) | |
download | linux-ef3935eeebffcad148edeb81021733c262db9970.tar.xz |
arm64: insn: Add encoder for bitwise operations using literals
We lack a way to encode operations such as AND, ORR, EOR that take
an immediate value. Doing so is quite involved, and is all about
reverse engineering the decoding algorithm described in the
pseudocode function DecodeBitMasks().
This has been tested by feeding it all the possible literal values
and comparing the output with that of GAS.
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions