Commit 86227ce7 authored by Damien George's avatar Damien George
Browse files

Merge pull request #331 from iabdalkader/master

Implement machine_sqrt using VSQRT
parents 75a35c49 6882dbd9
......@@ -675,6 +675,9 @@ double sqrt(double x) {
machine_float_t machine_sqrt(machine_float_t x) {
asm volatile (
"vsqrt.f32 %[r], %[x]\n"
: [r] "=t" (x)
: [x] "t" (x));
return x;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment