URL
https://opencores.org/ocsvn/hf-risc/hf-risc/trunk
Subversion Repositories hf-risc
[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [gcc/] [libgcc/] [config/] [riscv/] [t-tpbit] - Rev 13
Compare with Previous | Blame | View Log
LIB2ADD += tp-bit.c
tp-bit.c: $(srcdir)/fp-bit.c
echo '#ifdef _RISCVEL' > tp-bit.c
echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c
echo '#endif' >> tp-bit.c
echo '#if __LDBL_MANT_DIG__ == 113' >> tp-bit.c
echo '# define TFLOAT' >> tp-bit.c
cat $(srcdir)/fp-bit.c >> tp-bit.c
echo '#endif' >> tp-bit.c