![liuhongt](/assets/img/avatar_default.png)
For 32-bit libgcc configure w/o sse2, there's would be an error since GCC only support _Float16 under sse2. Explicitly add -msse2 for those HF related libgcc functions, so users can still link them w/ the upper configuration. libgcc/ChangeLog: * Makefile.in: Adjust to support specific CFLAGS for each libgcc source file. * config/i386/64/t-softfp: Explicitly add -msse2 for HF related libgcc source files. * config/i386/t-softfp: Ditto. * config/i386/_divhc3.c: New file. * config/i386/_mulhc3.c: New file.
7 lines
177 B
Plaintext
7 lines
177 B
Plaintext
softfp_extras := fixhfti fixunshfti floattihf floatuntihf
|
|
|
|
CFLAGS-fixhfti.c += -msse2
|
|
CFLAGS-fixunshfti.c += -msse2
|
|
CFLAGS-floattihf.c += -msse2
|
|
CFLAGS-floatunstihf.c += -msse2
|