Skip to content

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

Open
@pavelvkozlov

Description

@pavelvkozlov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions