Use fsqrt() to calculate float (rather than double) square root.
[deliverable/binutils-gdb.git] / sim / aarch64 / simulator.c
index 7c15e7a50b335484d9453bf9dfb749ec6b1a0669..45844e2f429441f0acd9d96497772cee10a42f05 100644 (file)
@@ -7754,7 +7754,7 @@ fsqrts (sim_cpu *cpu)
   unsigned sd = INSTR (4, 0);
 
   TRACE_DECODE (cpu, "emulated at line %d", __LINE__);
-  aarch64_set_FP_float (cpu, sd, sqrt (aarch64_get_FP_float (cpu, sn)));
+  aarch64_set_FP_float (cpu, sd, sqrtf (aarch64_get_FP_float (cpu, sn)));
 }
 
 /* Double square root.  */
This page took 0.02517 seconds and 4 git commands to generate.