This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use -frounding-math for math testsuite
> On 05/07/2012 03:47 PM, David Miller wrote:
> > - sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %##reg; \
> > mov %o7, %##tmp; \
> > + sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %##reg; \
> > call __sparc_get_pc_thunk.reg; \
> > or %##reg, %lo(_GLOBAL_OFFSET_TABLE_+4), %##reg; \
>
> The alternate fix is to use -8 instead of -4, if the
> scheduling actually makes any difference.
Hence my suggestion to use label rather than constants. (They could be
.Lsparc_get_pc_thunk_foo labels instead of numeric ones to avoid Dave's
concern about users of the macro already using numeric labels, unless the
macro is used more than once in a file--in which case, perhaps the whole
thing should be in gas macros that can use \@ for gensym labels.)
Thanks,
Roland