[java] RFA: builtins vs. -findirect-dispatch
Bryce McKinlay
mckinlay@redhat.com
Thu Jul 13 04:27:00 GMT 2006
Currently, some of GCJ's Math builtins can generate non-indirect
function calls even when -findirect-dispatch is set. The simplest fix
for this seems to be to simply disable builtins where a function call
could be generated and -findirect-dispatch in use. This shouldn't really
effect performance for the general case, since these builtins usually
seem to generate function calls anyway unless -ffast-math is in use.
Other builtins like Math.min(), which never use a function call, will
still work.
This is needed for the upcoming libgcj_bc patch, since that will ensure
at link time that only known BC-ABI symbols are used by an
-findirect-dispatch binary.
OK to commit?
Bryce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-builtins-vs-bc.patch
Type: text/x-patch
Size: 717 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060713/23fc9c3b/attachment.bin>
More information about the Java-patches
mailing list