jgouly opened PR #2414 from extend-refactor
to main
:
This refactors the handling of Inst::Extend and simplifies the lowering
of Bextend and Bmask, which allows the use of SBFX instructions for
extensions from 1-bit booleans. Other extensions use aliases of BFM,
and the code was changed to reflect that, rather than hard coding bit
patterns. Also ImmLogic is now implemented, so another hard coded
instruction can be removed.As part of looking at boolean handling,
normalize_boolean_result
was
changed tomaterialize_boolean_result
, such that it can use either
CSET or CSETM. Using CSETM saves an instruction (previously CSET + SUB)
for booleans bigger than 1-bit.Copyright (c) 2020, Arm Limited.
akirilov-arm requested cfallin for a review on PR #2414.
cfallin submitted PR Review.
cfallin merged PR #2414.
Last updated: Nov 22 2024 at 17:03 UTC