On Thu, 2015-12-03 09:21:03 +0000, Richard Sandiford <richard.sandif...@arm.com> wrote: > All current uses of builtin_reciprocal convert 1.0/sqrt into rsqrt. > This patch adds an rsqrt optab and associated internal function for > that instead. We can then pick up the vector forms of rsqrt automatically, > fixing an AArch64 regression from my internal_fn patches. [...] > Two other ports define rsqrt patterns: sh and v850. AFAICT these > patterns aren't currently used, but I think the patch does what the > authors of the patterns would have expected. There's obviously some > risk of fallout though.
shle-linux breaks with: g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace -o insn-opinit.o -MT insn-opinit.o -MMD -MP -MF ./.deps/insn-opinit.TPo insn-opinit.c In file included from ./tm.h:60:0, from ../../gcc/gcc/backend.h:28, from insn-opinit.c:7: insn-opinit.c: In function ‘void init_all_optabs(target_optabs*)’: ./insn-flags.h:342:7: error: ‘operands’ was not declared in this scope && operands[1] == CONST1_RTX (SFmode)) ^ insn-opinit.c:359:14: note: in expansion of macro ‘HAVE_rsqrtsf2’ ena[137] = HAVE_rsqrtsf2; ^ make[2]: *** [insn-opinit.o] Error 1 See eg. build http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=479005 . MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: Zensur im Internet? Nein danke! the second :
signature.asc
Description: Digital signature