Commit fd407cd2 by Jason Merrill

x

From-SVN: r14143
parent 39379e67
...@@ -2982,7 +2982,17 @@ do { \ ...@@ -2982,7 +2982,17 @@ do { \
int big_delta = (DELTA) >= 4096 || (DELTA) < -4096; \ int big_delta = (DELTA) >= 4096 || (DELTA) < -4096; \
if (big_delta) \ if (big_delta) \
fprintf (FILE, "\tset %d,%%g1\n\tadd %%o0,%%g1,%%o0\n", (DELTA)); \ fprintf (FILE, "\tset %d,%%g1\n\tadd %%o0,%%g1,%%o0\n", (DELTA)); \
if (TARGET_MEDANY || TARGET_FULLANY) \ if (flag_pic) \
{ \
if (! big_delta) \
fprintf (FILE, "\tadd %%o0,%d,%%o0\n", DELTA); \
fprintf (FILE, "\tsave %%sp,-112,%%sp\n"); \
fprintf (FILE, "\tcall "); \
assemble_name \
(FILE, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (FUNCTION))); \
fprintf (FILE, ",0\n"); \
} \
else if (TARGET_MEDANY || TARGET_FULLANY) \
{ \ { \
fprintf (FILE, "\tsetx "); \ fprintf (FILE, "\tsetx "); \
assemble_name \ assemble_name \
...@@ -2999,8 +3009,12 @@ do { \ ...@@ -2999,8 +3009,12 @@ do { \
(FILE, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (FUNCTION))); \ (FILE, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (FUNCTION))); \
fprintf (FILE, ")\n"); \ fprintf (FILE, ")\n"); \
} \ } \
if (big_delta) fprintf (FILE, "\tnop\n"); \ if (big_delta) \
else fprintf (FILE, "\tadd %%o0,%d,%%o0\n", DELTA); \ fprintf (FILE, "\tnop\n"); \
else if (flag_pic) \
fprintf (FILE, "\trestore\n"); \
else \
fprintf (FILE, "\tadd %%o0,%d,%%o0\n", DELTA); \
} while (0) } while (0)
/* Define the parentheses used to group arithmetic operations /* Define the parentheses used to group arithmetic operations
......
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