http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48068
--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-03-11 02:42:15 UTC --- Created attachment 23623 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23623 With --target=mipsel-unknown-linux-gnu, result of "./xgcc -W -Wall -O2 -B./ -S -I. -march=loongson2f x.c -o xo32.s" With stdint.h in the gcc objdir, run xgcc as in description. Note the generic-code generated for ior(), the initialization of the output-only operand for "pshufh" in gag(), and the needless moving between float/vector and general registers as well as using the general-register-add in mp() except as mandated by the intrinsic.