[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

Chris Lattner clattner at apple.com
Thu Jun 28 20:16:16 PDT 2007


Awesome, thanks Evan.  As an improvement, can't vector fneg be  
implemented with a xor of a constant vector?

-Chris

On Jun 28, 2007, at 5:18 PM, Evan Cheng wrote:

>
>
> Changes in directory llvm/lib/Target/X86:
>
> X86ISelLowering.cpp updated: 1.416 -> 1.417
> ---
> Log message:
>
> No vector fneg.
>
> ---
> Diffs of the changes:  (+1 -0)
>
>  X86ISelLowering.cpp |    1 +
>  1 files changed, 1 insertion(+)
>
>
> Index: llvm/lib/Target/X86/X86ISelLowering.cpp
> diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.416 llvm/lib/ 
> Target/X86/X86ISelLowering.cpp:1.417
> --- llvm/lib/Target/X86/X86ISelLowering.cpp:1.416	Thu Jun 28  
> 19:01:20 2007
> +++ llvm/lib/Target/X86/X86ISelLowering.cpp	Thu Jun 28 19:18:15 2007
> @@ -314,6 +314,7 @@
>      setOperationAction(ISD::ADD , (MVT::ValueType)VT, Expand);
>      setOperationAction(ISD::SUB , (MVT::ValueType)VT, Expand);
>      setOperationAction(ISD::FADD, (MVT::ValueType)VT, Expand);
> +    setOperationAction(ISD::FNEG, (MVT::ValueType)VT, Expand);
>      setOperationAction(ISD::FSUB, (MVT::ValueType)VT, Expand);
>      setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
>      setOperationAction(ISD::FMUL, (MVT::ValueType)VT, Expand);
>
>
>
> _______________________________________________
> 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