From 7cb6491a0deff3f6b14faf20cf9bff8256219965 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 14 Oct 2005 04:55:50 +0000 Subject: [PATCH] Add patterns for FP round/extend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23727 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCInstrInfo.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 0f53383e52e..673c176d4ff 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -424,7 +424,7 @@ def FCTIWZ : XForm_26<63, 15, (ops F8RC:$frD, F8RC:$frB), []>; def FRSP : XForm_26<63, 12, (ops F4RC:$frD, F8RC:$frB), "frsp $frD, $frB", - []>; + [(set F4RC:$frD, (fround F8RC:$frB))]>; def FSQRT : XForm_26<63, 22, (ops F8RC:$frD, F8RC:$frB), "fsqrt $frD, $frB", [(set F8RC:$frD, (fsqrt F8RC:$frB))]>; @@ -441,7 +441,7 @@ def FMRD : XForm_26<63, 72, (ops F8RC:$frD, F8RC:$frB), []>; // (set F8RC:$frD, F8RC:$frB) def FMRSD : XForm_26<63, 72, (ops F8RC:$frD, F4RC:$frB), "fmr $frD, $frB", - []>; // (set F8RC:$frD, (fpextend F4RC:$frB)) + [(set F8RC:$frD, (fextend F4RC:$frB))]>; // These are artificially split into two different forms, for 4/8 byte FP. def FABSS : XForm_26<63, 264, (ops F4RC:$frD, F4RC:$frB),