sparc: Use existing macros to avoid code duplication
commit3bb1350c3681c5ca330dd92500dc59fba94b37eb
authorDaniel Cederman <cederman@gaisler.com>
Mon, 15 Jan 2024 14:53:44 +0000 (15 15:53 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Jan 2024 11:27:43 +0000 (18 08:27 -0300)
tree90d3bfecd06e446fc99cfe6392b0284d5173d29d
parent8393f4f72bc8fc79328b2d739d3ff91c1753c3b5
sparc: Use existing macros to avoid code duplication

Macros for using inline assembly to access the fp state register exists
in both fenv_private.h and in fpu_control.h. Let fenv_private.h use the
macros from fpu_control.h

Signed-off-by: Daniel Cederman <cederman@gaisler.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/sparc/fpu/fenv_private.h