This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48068] loongson intrinsics improvement opportunities
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2011 02:42:16 +0000
- Subject: [Bug target/48068] loongson intrinsics improvement opportunities
- Auto-submitted: auto-generated
- References: <bug-48068-4@http.gcc.gnu.org/bugzilla/>
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.