Add patterns for FP round/extend

llvm-svn: 23727
This commit is contained in:
Chris Lattner 2005-10-14 04:55:50 +00:00
parent 6e83cbf7f3
commit 9c0d3c5932
1 changed files with 2 additions and 2 deletions

View File

@ -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),