Commit 47428190 by Jim Wilson

(INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end.

From-SVN: r9558
parent 394fa7c8
...@@ -2112,7 +2112,6 @@ extern struct rtx_def *legitimize_pic_address (); ...@@ -2112,7 +2112,6 @@ extern struct rtx_def *legitimize_pic_address ();
for calls to the builtin function sqrt, but this fails. */ for calls to the builtin function sqrt, but this fails. */
#define INIT_TARGET_OPTABS \ #define INIT_TARGET_OPTABS \
do { \ do { \
INIT_SUBTARGET_OPTABS; \
add_optab->handlers[(int) TFmode].libfunc \ add_optab->handlers[(int) TFmode].libfunc \
= gen_rtx (SYMBOL_REF, Pmode, ADDTF3_LIBCALL); \ = gen_rtx (SYMBOL_REF, Pmode, ADDTF3_LIBCALL); \
sub_optab->handlers[(int) TFmode].libfunc \ sub_optab->handlers[(int) TFmode].libfunc \
...@@ -2140,6 +2139,7 @@ extern struct rtx_def *legitimize_pic_address (); ...@@ -2140,6 +2139,7 @@ extern struct rtx_def *legitimize_pic_address ();
if (TARGET_FPU) \ if (TARGET_FPU) \
sqrt_optab->handlers[(int) TFmode].libfunc \ sqrt_optab->handlers[(int) TFmode].libfunc \
= gen_rtx (SYMBOL_REF, Pmode, "_Q_sqrt"); \ = gen_rtx (SYMBOL_REF, Pmode, "_Q_sqrt"); \
INIT_SUBTARGET_OPTABS; \
} while (0) } while (0)
/* This is meant to be redefined in the host dependent files */ /* This is meant to be redefined in the host dependent files */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment