toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

[ARCv3] HW FPU for ARC32 HS5x is not yet supported

Open pavelvkozlov opened this issue 2 years ago • 0 comments

I've tried to configure glibc with explicit -mfpu=fpud option to be able to try glibc with FPU instructions and surprisingly found that HW FPU for HS5x is not yet supported.

My configuration string for glibc:

../source/glibc/configure --host=arc32-linux-gnu --prefix=/usr --disable-werror --enable-shared --enable-obsolete-rpc --with-headers=$ARC_LINUX_HEADERS_DIR --disable-multilib --libdir=/usr/lib libc_cv_slibdir=/lib libc_cv_rtlddir=/lib CFLAGS="-O2 -mfpu=fpud"

and errors:

/glibc-exp/math/s_copysignf.o
/tmp/ccaO7xn2.s: Assembler messages:
/tmp/ccaO7xn2.s:27: Error: opcode 'fmvi2s' not supported for target hs5x
/tmp/ccaO7xn2.s:28: Error: opcode 'fmvi2s' not supported for target hs5x
/tmp/ccaO7xn2.s:30: Error: opcode 'fssgnj' not supported for target hs5x
/tmp/ccaO7xn2.s:34: Error: opcode 'fmvs2i' not supported for target hs5x

pavelvkozlov avatar Nov 09 '22 14:11 pavelvkozlov