constraint "w" produces access to single precission registers
Bug #1856486 reported by
Peter Hintenaus
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Incomplete
|
Undecided
|
Przemyslaw Wirkus |
Bug Description
when using the following inline assembly
__attribute_
static inline double _VSQRT(double op){
double res;
asm volatile("vsqrt.f64 %[result], %[value]" : [result] "=w"(res) : [value]"w"(op));
return res;
}
the assembler complains
Error: VFP single or double precision register expected -- `vsqrt.f64 f14,f14'
The single precision version (using constraint "t") works.
I'm using
GNU Tools for Arm Embedded Processors 9-2019q4-major Release
as provided by ARM.
Thank you,
Peter Hintenaus
To post a comment you must log in.
Can you please provide the command line option?