diff options
author | fanquake <fanquake@gmail.com> | 2023-09-05 13:37:01 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-09-05 13:44:59 +0100 |
commit | 9d3b216e009a53ffcecd57e7f10df15cccd5fd6d (patch) | |
tree | 05aadc4384593f5887f0315ce4f219c19c1d4611 /depends | |
parent | ecab855838fa4de4c6d8c11e69037477d6047790 (diff) | |
parent | 96f2cf8d2c3e0fba2a39dabd991dee69124cc79d (diff) |
Merge bitcoin/bitcoin#28151: build: use `-muse-unaligned-vector-move` for Windows builds
96f2cf8d2c3e0fba2a39dabd991dee69124cc79d build: use -muse-unaligned-vector-move for Windows (fanquake)
Pull request description:
We currently work around a longstanding GCC issue with aligned vector instructions, by patching the behaviour we want into GCC (see discussion in #24736). Possibly in response to the GCC thread (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412#c40), a new option was [introduced into the binutils assembler](https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c8480b58e1968f209b6365af7422678f348222c2) with the 2.38 release:
```
x86: Add -muse-unaligned-vector-move to assembler
Unaligned load/store instructions on aligned memory or register are as
fast as aligned load/store instructions on modern Intel processors. Add
a command-line option, -muse-unaligned-vector-move, to x86 assembler to
encode encode aligned vector load/store instructions as unaligned
vector load/store instructions.
```
ACKs for top commit:
theuni:
ACK 96f2cf8d2c3e0fba2a39dabd991dee69124cc79d.
Tree-SHA512: f5aaa125922bb17bbb51454103b3394d293184214b0dea554c36c2f130488a3ede2f39678044ec846fa0fdf4cd441d4227f4565c29d380f5a73b50bf6f3b9a67
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions