Hi,
A couple of updates for ARC.
Thx,
-Vineet
Vineet Gupta (2):
ARC: fp: (micro)optimize FPU_STATUS read by eliding FWE bit clearing
ARC: elf: make type safe
sysdeps/arc/dl-machine.h | 23 ++-
sysdeps/arc/fpu_control.h | 15 +++
2 files changed, 17 insertio
Signed-off-by: Vineet Gupta
---
sysdeps/arc/dl-machine.h | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/sysdeps/arc/dl-machine.h b/sysdeps/arc/dl-machine.h
index 60b49af0d5ca..e6ce7f0ff6d9 100644
--- a/sysdeps/arc/dl-machine.h
+++ b/sysdeps/arc/dl-ma
Any FPU_STATUS write needs setting the FWE bit (31) whcih just provides
a "control signal" to enable explicit write (vs. the side-effect of FPU
instructions). However this bit is RAZ and write-only, thus effectively
never stored in FPU_STATUS register. Thus when reading the register
there is no ne