[llvm-commits] [llvm] r99953 - /llvm/trunk/lib/Target/X86/X86InstrSSE.td
Chris Lattner
clattner at apple.com
Tue Mar 30 15:50:47 PDT 2010
On Mar 30, 2010, at 3:46 PM, Jakob Stoklund Olesen wrote:
> Author: stoklund
> Date: Tue Mar 30 17:46:55 2010
> New Revision: 99953
>
> URL: http://llvm.org/viewvc/llvm-project?rev=99953&view=rev
> Log:
> V_SETALLONES is an integer instruction.
>
> Since it is just a pxor in disguise, we should probably expand it to a full
> polymorphic triple.
Couldn't V_SETALLONES be implementated in all domains to avoid a domain crossing?
-Chris
>
> Modified:
> llvm/trunk/lib/Target/X86/X86InstrSSE.td
>
> Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=99953&r1=99952&r2=99953&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
> +++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Tue Mar 30 17:46:55 2010
> @@ -2424,7 +2424,7 @@
> // We set canFoldAsLoad because this can be converted to a constant-pool
> // load of an all-ones value if folding it would be beneficial.
> let isReMaterializable = 1, isAsCheapAsAMove = 1, canFoldAsLoad = 1,
> - isCodeGenOnly = 1 in
> + isCodeGenOnly = 1, ExeDomain = SSEPackedInt in
> // FIXME: Change encoding to pseudo.
> def V_SETALLONES : PDI<0x76, MRMInitReg, (outs VR128:$dst), (ins), "",
> [(set VR128:$dst, (v4i32 immAllOnesV))]>;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list