Commit 288037c
aarch64, Darwin : Restrict offsets for prfm.
The current LLVM-based assemblers reject offsets that are not suitable
for prfm as written in the local section. However, there is advice
elsewhere that says that this category of instruction should attempt
to use the 9bit unscaled version before falling back to the scaled one.
In the short-term reject values that the assembler will not accept.
This partially addresses Issue gcc-mirror#43
gcc/
* config/aarch64/aarch64.c (aarch64_address_valid_for_prefetch_p):
Reject values incompatible with pfrum and out of range for pfrm.
For Mach-O, reject values that require prfum.
(cherry picked from commit 76e872ee44318cafbd24b58e23234889164b67fd)1 parent 1e653ea commit 288037c
1 file changed
+25
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9633 | 9633 | | |
9634 | 9634 | | |
9635 | 9635 | | |
9636 | | - | |
9637 | | - | |
9638 | | - | |
| 9636 | + | |
| 9637 | + | |
| 9638 | + | |
| 9639 | + | |
| 9640 | + | |
| 9641 | + | |
| 9642 | + | |
| 9643 | + | |
| 9644 | + | |
| 9645 | + | |
| 9646 | + | |
| 9647 | + | |
| 9648 | + | |
| 9649 | + | |
| 9650 | + | |
| 9651 | + | |
| 9652 | + | |
| 9653 | + | |
| 9654 | + | |
| 9655 | + | |
| 9656 | + | |
| 9657 | + | |
| 9658 | + | |
| 9659 | + | |
| 9660 | + | |
9639 | 9661 | | |
9640 | 9662 | | |
9641 | 9663 | | |
| |||
0 commit comments