[all-commits] [llvm/llvm-project] f3aebe: [llvm][ARM] Add Addend Checks for MOVT and MOVW in...
Jack Styles via All-commits
all-commits at lists.llvm.org
Mon Oct 14 02:39:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3aebe623b49b7ae14d0f0996999114aac052e4b
https://github.com/llvm/llvm-project/commit/f3aebe623b49b7ae14d0f0996999114aac052e4b
Author: Jack Styles <jack.styles at arm.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M llvm/docs/ReleaseNotes.md
M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
M llvm/test/MC/ARM/Windows/mov32t-range.s
A llvm/test/MC/ARM/arm-movt-movw-range-fail.s
A llvm/test/MC/ARM/arm-movt-movw-range-pass.s
M llvm/test/MC/ARM/macho-movwt.s
M llvm/test/MC/MachO/ARM/thumb2-movw-fixup.s
Log Message:
-----------
[llvm][ARM] Add Addend Checks for MOVT and MOVW instructions. (#111970)
Previously, any value could be used for the MOVT and MOVW instructions,
however the ARM ABI dictates that the addend should be a signed 16 bit
value. To ensure this is followed, the Assembler will now check that
when using these instructions, the addend is a 16bit signed value, and
throw an error if this is not the case.
Information relating to the ABI requirements can be found here:
https://github.com/ARM-software/abi-aa/blob/main/aaelf32/aaelf32.rst#addends-and-pc-bias-compensation
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list