[PATCH] [x86] eliminate unnecessary shuffling/moves with unary scalar math ops (PR21507)
Simon Pilgrim
llvm-dev at redking.me.uk
Wed May 6 02:48:46 PDT 2015
Thanks Sanjay, in http://reviews.llvm.org/D9095 I added some tests to sse-scalar-fp-arith.ll for llvm.sqrt.f32 / llvm.sqrt.f64 tests - these don't appear to be optimized by this patch - is this something that could be easily added? Feel free to transfer them to sse-scalar-fp-arith-unary.ll.
================
Comment at: lib/Target/X86/X86InstrInfo.cpp:529
@@ -528,1 +528,3 @@
{ X86::RCPPSr, X86::RCPPSm, TB_ALIGN_16 },
+ { X86::RCPSSr, X86::RCPSSm , 0 },
+ { X86::RCPSSr_Int, X86::RCPSSm_Int, 0 },
----------------
excess whitespace before the comma
http://reviews.llvm.org/D9504
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list