bug-binutils
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Assembler bad code gen for AArch32
From
:
Frank Barchard
Subject
:
Assembler bad code gen for AArch32
Date
:
Wed, 1 Feb 2023 19:20:06 -0800
With assembly .S files or inline, the following syntax quietly produces the wrong instruction
VLD1.16 {d2[]-d3[]}, [r3]!
assembles to:
vld1.16 {d2-d3}, [r3]!
The work around is to use , not -
VLD1.16 {d2[],d3[]}, [r3]!
The error is subtle, since the code will build and run and the first value is correct.
clang accepts - and the objdump shows -
It would be better to generate a compile time error, or accept the - syntax.
Godbolt reproducible
https://godbolt.org/z/cbn6jTWT3
smime.p7s
Description:
S/MIME Cryptographic Signature
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Assembler bad code gen for AArch32
,
Frank Barchard
<=
Prev by Date:
[Bug binutils/30069] objdump (*-w64-mingw32) does not support the output of c++ symbol names for dynamic libraries
Next by Date:
Issue 55045 in oss-fuzz: binutils:fuzz_as: Heap-use-after-free in subseg_set_rest
Previous by thread:
[Bug binutils/30069] New: objdump (*-w64-mingw32) does not support the output of c++ symbol names for dynamic libraries
Next by thread:
Issue 55045 in oss-fuzz: binutils:fuzz_as: Heap-use-after-free in subseg_set_rest
Index(es):
Date
Thread