Home | History | Annotate | Line # | Download | only in rs6000
dfp.md revision 1.1.1.1.4.2
      1  1.1.1.1.4.2  yamt ;; Decimal Floating Point (DFP) patterns.
      2  1.1.1.1.4.2  yamt ;; Copyright (C) 2007, 2008, 2010
      3  1.1.1.1.4.2  yamt ;; Free Software Foundation, Inc.
      4  1.1.1.1.4.2  yamt ;; Contributed by Ben Elliston (bje (a] au.ibm.com) and Peter Bergner
      5  1.1.1.1.4.2  yamt ;; (bergner (a] vnet.ibm.com).
      6  1.1.1.1.4.2  yamt 
      7  1.1.1.1.4.2  yamt ;; This file is part of GCC.
      8  1.1.1.1.4.2  yamt 
      9  1.1.1.1.4.2  yamt ;; GCC is free software; you can redistribute it and/or modify it
     10  1.1.1.1.4.2  yamt ;; under the terms of the GNU General Public License as published
     11  1.1.1.1.4.2  yamt ;; by the Free Software Foundation; either version 3, or (at your
     12  1.1.1.1.4.2  yamt ;; option) any later version.
     13  1.1.1.1.4.2  yamt 
     14  1.1.1.1.4.2  yamt ;; GCC is distributed in the hope that it will be useful, but WITHOUT
     15  1.1.1.1.4.2  yamt ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     16  1.1.1.1.4.2  yamt ;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
     17  1.1.1.1.4.2  yamt ;; License for more details.
     18  1.1.1.1.4.2  yamt 
     19  1.1.1.1.4.2  yamt ;; You should have received a copy of the GNU General Public License
     20  1.1.1.1.4.2  yamt ;; along with GCC; see the file COPYING3.  If not see
     21  1.1.1.1.4.2  yamt ;; <http://www.gnu.org/licenses/>.
     22  1.1.1.1.4.2  yamt 
     23  1.1.1.1.4.2  yamt ;;
     24  1.1.1.1.4.2  yamt ;; UNSPEC usage
     25  1.1.1.1.4.2  yamt ;;
     26  1.1.1.1.4.2  yamt 
     27  1.1.1.1.4.2  yamt (define_constants
     28  1.1.1.1.4.2  yamt   [(UNSPEC_MOVSD_LOAD		400)
     29  1.1.1.1.4.2  yamt    (UNSPEC_MOVSD_STORE		401)
     30  1.1.1.1.4.2  yamt   ])
     31  1.1.1.1.4.2  yamt 
     32  1.1.1.1.4.2  yamt 
     33  1.1.1.1.4.2  yamt (define_expand "movsd"
     34  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "nonimmediate_operand" "")
     35  1.1.1.1.4.2  yamt 	(match_operand:SD 1 "any_operand" ""))]
     36  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
     37  1.1.1.1.4.2  yamt   "{ rs6000_emit_move (operands[0], operands[1], SDmode); DONE; }")
     38  1.1.1.1.4.2  yamt 
     39  1.1.1.1.4.2  yamt (define_split
     40  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "gpc_reg_operand" "")
     41  1.1.1.1.4.2  yamt 	(match_operand:SD 1 "const_double_operand" ""))]
     42  1.1.1.1.4.2  yamt   "reload_completed
     43  1.1.1.1.4.2  yamt    && ((GET_CODE (operands[0]) == REG && REGNO (operands[0]) <= 31)
     44  1.1.1.1.4.2  yamt        || (GET_CODE (operands[0]) == SUBREG
     45  1.1.1.1.4.2  yamt 	   && GET_CODE (SUBREG_REG (operands[0])) == REG
     46  1.1.1.1.4.2  yamt 	   && REGNO (SUBREG_REG (operands[0])) <= 31))"
     47  1.1.1.1.4.2  yamt   [(set (match_dup 2) (match_dup 3))]
     48  1.1.1.1.4.2  yamt   "
     49  1.1.1.1.4.2  yamt {
     50  1.1.1.1.4.2  yamt   long l;
     51  1.1.1.1.4.2  yamt   REAL_VALUE_TYPE rv;
     52  1.1.1.1.4.2  yamt 
     53  1.1.1.1.4.2  yamt   REAL_VALUE_FROM_CONST_DOUBLE (rv, operands[1]);
     54  1.1.1.1.4.2  yamt   REAL_VALUE_TO_TARGET_DECIMAL32 (rv, l);
     55  1.1.1.1.4.2  yamt 
     56  1.1.1.1.4.2  yamt   if (! TARGET_POWERPC64)
     57  1.1.1.1.4.2  yamt     operands[2] = operand_subword (operands[0], 0, 0, SDmode);
     58  1.1.1.1.4.2  yamt   else
     59  1.1.1.1.4.2  yamt     operands[2] = gen_lowpart (SImode, operands[0]);
     60  1.1.1.1.4.2  yamt 
     61  1.1.1.1.4.2  yamt   operands[3] = gen_int_mode (l, SImode);
     62  1.1.1.1.4.2  yamt }")
     63  1.1.1.1.4.2  yamt 
     64  1.1.1.1.4.2  yamt (define_insn "movsd_hardfloat"
     65  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "nonimmediate_operand" "=r,r,m,f,*c*l,*q,!r,*h,!r,!r")
     66  1.1.1.1.4.2  yamt 	(match_operand:SD 1 "input_operand"        "r,m,r,f,r,r,h,0,G,Fn"))]
     67  1.1.1.1.4.2  yamt   "(gpc_reg_operand (operands[0], SDmode)
     68  1.1.1.1.4.2  yamt    || gpc_reg_operand (operands[1], SDmode))
     69  1.1.1.1.4.2  yamt    && (TARGET_HARD_FLOAT && TARGET_FPRS)"
     70  1.1.1.1.4.2  yamt   "@
     71  1.1.1.1.4.2  yamt    mr %0,%1
     72  1.1.1.1.4.2  yamt    {l%U1%X1|lwz%U1%X1} %0,%1
     73  1.1.1.1.4.2  yamt    {st%U0%X0|stw%U0%X0} %1,%0
     74  1.1.1.1.4.2  yamt    fmr %0,%1
     75  1.1.1.1.4.2  yamt    mt%0 %1
     76  1.1.1.1.4.2  yamt    mt%0 %1
     77  1.1.1.1.4.2  yamt    mf%1 %0
     78  1.1.1.1.4.2  yamt    {cror 0,0,0|nop}
     79  1.1.1.1.4.2  yamt    #
     80  1.1.1.1.4.2  yamt    #"
     81  1.1.1.1.4.2  yamt   [(set_attr "type" "*,load,store,fp,mtjmpr,*,mfjmpr,*,*,*")
     82  1.1.1.1.4.2  yamt    (set_attr "length" "4,4,4,4,4,4,4,4,4,8")])
     83  1.1.1.1.4.2  yamt 
     84  1.1.1.1.4.2  yamt (define_insn "movsd_softfloat"
     85  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "nonimmediate_operand" "=r,cl,q,r,r,m,r,r,r,r,r,*h")
     86  1.1.1.1.4.2  yamt 	(match_operand:SD 1 "input_operand" "r,r,r,h,m,r,I,L,R,G,Fn,0"))]
     87  1.1.1.1.4.2  yamt   "(gpc_reg_operand (operands[0], SDmode)
     88  1.1.1.1.4.2  yamt    || gpc_reg_operand (operands[1], SDmode))
     89  1.1.1.1.4.2  yamt    && (TARGET_SOFT_FLOAT || !TARGET_FPRS)"
     90  1.1.1.1.4.2  yamt   "@
     91  1.1.1.1.4.2  yamt    mr %0,%1
     92  1.1.1.1.4.2  yamt    mt%0 %1
     93  1.1.1.1.4.2  yamt    mt%0 %1
     94  1.1.1.1.4.2  yamt    mf%1 %0
     95  1.1.1.1.4.2  yamt    {l%U1%X1|lwz%U1%X1} %0,%1
     96  1.1.1.1.4.2  yamt    {st%U0%X0|stw%U0%X0} %1,%0
     97  1.1.1.1.4.2  yamt    {lil|li} %0,%1
     98  1.1.1.1.4.2  yamt    {liu|lis} %0,%v1
     99  1.1.1.1.4.2  yamt    {cal|la} %0,%a1
    100  1.1.1.1.4.2  yamt    #
    101  1.1.1.1.4.2  yamt    #
    102  1.1.1.1.4.2  yamt    {cror 0,0,0|nop}"
    103  1.1.1.1.4.2  yamt   [(set_attr "type" "*,mtjmpr,*,mfjmpr,load,store,*,*,*,*,*,*")
    104  1.1.1.1.4.2  yamt    (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8,4")])
    105  1.1.1.1.4.2  yamt 
    106  1.1.1.1.4.2  yamt (define_insn "movsd_store"
    107  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=m")
    108  1.1.1.1.4.2  yamt 	(unspec:DD [(match_operand:SD 1 "input_operand" "d")]
    109  1.1.1.1.4.2  yamt 		   UNSPEC_MOVSD_STORE))]
    110  1.1.1.1.4.2  yamt   "(gpc_reg_operand (operands[0], DDmode)
    111  1.1.1.1.4.2  yamt    || gpc_reg_operand (operands[1], SDmode))
    112  1.1.1.1.4.2  yamt    && TARGET_HARD_FLOAT && TARGET_FPRS"
    113  1.1.1.1.4.2  yamt   "stfd%U0%X0 %1,%0"
    114  1.1.1.1.4.2  yamt   [(set_attr "type" "fpstore")
    115  1.1.1.1.4.2  yamt    (set_attr "length" "4")])
    116  1.1.1.1.4.2  yamt 
    117  1.1.1.1.4.2  yamt (define_insn "movsd_load"
    118  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "nonimmediate_operand" "=f")
    119  1.1.1.1.4.2  yamt 	(unspec:SD [(match_operand:DD 1 "input_operand" "m")]
    120  1.1.1.1.4.2  yamt 		   UNSPEC_MOVSD_LOAD))]
    121  1.1.1.1.4.2  yamt   "(gpc_reg_operand (operands[0], SDmode)
    122  1.1.1.1.4.2  yamt    || gpc_reg_operand (operands[1], DDmode))
    123  1.1.1.1.4.2  yamt    && TARGET_HARD_FLOAT && TARGET_FPRS"
    124  1.1.1.1.4.2  yamt   "lfd%U1%X1 %0,%1"
    125  1.1.1.1.4.2  yamt   [(set_attr "type" "fpload")
    126  1.1.1.1.4.2  yamt    (set_attr "length" "4")])
    127  1.1.1.1.4.2  yamt 
    128  1.1.1.1.4.2  yamt ;; Hardware support for decimal floating point operations.
    129  1.1.1.1.4.2  yamt 
    130  1.1.1.1.4.2  yamt (define_insn "extendsddd2"
    131  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    132  1.1.1.1.4.2  yamt 	(float_extend:DD (match_operand:SD 1 "gpc_reg_operand" "f")))]
    133  1.1.1.1.4.2  yamt   "TARGET_DFP"
    134  1.1.1.1.4.2  yamt   "dctdp %0,%1"
    135  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    136  1.1.1.1.4.2  yamt 
    137  1.1.1.1.4.2  yamt (define_expand "extendsdtd2"
    138  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    139  1.1.1.1.4.2  yamt 	(float_extend:TD (match_operand:SD 1 "gpc_reg_operand" "d")))]
    140  1.1.1.1.4.2  yamt   "TARGET_DFP"
    141  1.1.1.1.4.2  yamt {
    142  1.1.1.1.4.2  yamt   rtx tmp = gen_reg_rtx (DDmode);
    143  1.1.1.1.4.2  yamt   emit_insn (gen_extendsddd2 (tmp, operands[1]));
    144  1.1.1.1.4.2  yamt   emit_insn (gen_extendddtd2 (operands[0], tmp));
    145  1.1.1.1.4.2  yamt   DONE;
    146  1.1.1.1.4.2  yamt })
    147  1.1.1.1.4.2  yamt 
    148  1.1.1.1.4.2  yamt (define_insn "truncddsd2"
    149  1.1.1.1.4.2  yamt   [(set (match_operand:SD 0 "gpc_reg_operand" "=f")
    150  1.1.1.1.4.2  yamt 	(float_truncate:SD (match_operand:DD 1 "gpc_reg_operand" "d")))]
    151  1.1.1.1.4.2  yamt   "TARGET_DFP"
    152  1.1.1.1.4.2  yamt   "drsp %0,%1"
    153  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    154  1.1.1.1.4.2  yamt 
    155  1.1.1.1.4.2  yamt (define_expand "negdd2"
    156  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "")
    157  1.1.1.1.4.2  yamt 	(neg:DD (match_operand:DD 1 "gpc_reg_operand" "")))]
    158  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    159  1.1.1.1.4.2  yamt   "")
    160  1.1.1.1.4.2  yamt 
    161  1.1.1.1.4.2  yamt (define_insn "*negdd2_fpr"
    162  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    163  1.1.1.1.4.2  yamt 	(neg:DD (match_operand:DD 1 "gpc_reg_operand" "d")))]
    164  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    165  1.1.1.1.4.2  yamt   "fneg %0,%1"
    166  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    167  1.1.1.1.4.2  yamt 
    168  1.1.1.1.4.2  yamt (define_expand "absdd2"
    169  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "")
    170  1.1.1.1.4.2  yamt 	(abs:DD (match_operand:DD 1 "gpc_reg_operand" "")))]
    171  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    172  1.1.1.1.4.2  yamt   "")
    173  1.1.1.1.4.2  yamt 
    174  1.1.1.1.4.2  yamt (define_insn "*absdd2_fpr"
    175  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    176  1.1.1.1.4.2  yamt 	(abs:DD (match_operand:DD 1 "gpc_reg_operand" "d")))]
    177  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    178  1.1.1.1.4.2  yamt   "fabs %0,%1"
    179  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    180  1.1.1.1.4.2  yamt 
    181  1.1.1.1.4.2  yamt (define_insn "*nabsdd2_fpr"
    182  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    183  1.1.1.1.4.2  yamt 	(neg:DD (abs:DD (match_operand:DD 1 "gpc_reg_operand" "d"))))]
    184  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    185  1.1.1.1.4.2  yamt   "fnabs %0,%1"
    186  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    187  1.1.1.1.4.2  yamt 
    188  1.1.1.1.4.2  yamt (define_expand "movdd"
    189  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "")
    190  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "any_operand" ""))]
    191  1.1.1.1.4.2  yamt   ""
    192  1.1.1.1.4.2  yamt   "{ rs6000_emit_move (operands[0], operands[1], DDmode); DONE; }")
    193  1.1.1.1.4.2  yamt 
    194  1.1.1.1.4.2  yamt (define_split
    195  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "")
    196  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "const_int_operand" ""))]
    197  1.1.1.1.4.2  yamt   "! TARGET_POWERPC64 && reload_completed
    198  1.1.1.1.4.2  yamt    && ((GET_CODE (operands[0]) == REG && REGNO (operands[0]) <= 31)
    199  1.1.1.1.4.2  yamt        || (GET_CODE (operands[0]) == SUBREG
    200  1.1.1.1.4.2  yamt 	   && GET_CODE (SUBREG_REG (operands[0])) == REG
    201  1.1.1.1.4.2  yamt 	   && REGNO (SUBREG_REG (operands[0])) <= 31))"
    202  1.1.1.1.4.2  yamt   [(set (match_dup 2) (match_dup 4))
    203  1.1.1.1.4.2  yamt    (set (match_dup 3) (match_dup 1))]
    204  1.1.1.1.4.2  yamt   "
    205  1.1.1.1.4.2  yamt {
    206  1.1.1.1.4.2  yamt   int endian = (WORDS_BIG_ENDIAN == 0);
    207  1.1.1.1.4.2  yamt   HOST_WIDE_INT value = INTVAL (operands[1]);
    208  1.1.1.1.4.2  yamt 
    209  1.1.1.1.4.2  yamt   operands[2] = operand_subword (operands[0], endian, 0, DDmode);
    210  1.1.1.1.4.2  yamt   operands[3] = operand_subword (operands[0], 1 - endian, 0, DDmode);
    211  1.1.1.1.4.2  yamt #if HOST_BITS_PER_WIDE_INT == 32
    212  1.1.1.1.4.2  yamt   operands[4] = (value & 0x80000000) ? constm1_rtx : const0_rtx;
    213  1.1.1.1.4.2  yamt #else
    214  1.1.1.1.4.2  yamt   operands[4] = GEN_INT (value >> 32);
    215  1.1.1.1.4.2  yamt   operands[1] = GEN_INT (((value & 0xffffffff) ^ 0x80000000) - 0x80000000);
    216  1.1.1.1.4.2  yamt #endif
    217  1.1.1.1.4.2  yamt }")
    218  1.1.1.1.4.2  yamt 
    219  1.1.1.1.4.2  yamt (define_split
    220  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "")
    221  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "const_double_operand" ""))]
    222  1.1.1.1.4.2  yamt   "! TARGET_POWERPC64 && reload_completed
    223  1.1.1.1.4.2  yamt    && ((GET_CODE (operands[0]) == REG && REGNO (operands[0]) <= 31)
    224  1.1.1.1.4.2  yamt        || (GET_CODE (operands[0]) == SUBREG
    225  1.1.1.1.4.2  yamt 	   && GET_CODE (SUBREG_REG (operands[0])) == REG
    226  1.1.1.1.4.2  yamt 	   && REGNO (SUBREG_REG (operands[0])) <= 31))"
    227  1.1.1.1.4.2  yamt   [(set (match_dup 2) (match_dup 4))
    228  1.1.1.1.4.2  yamt    (set (match_dup 3) (match_dup 5))]
    229  1.1.1.1.4.2  yamt   "
    230  1.1.1.1.4.2  yamt {
    231  1.1.1.1.4.2  yamt   int endian = (WORDS_BIG_ENDIAN == 0);
    232  1.1.1.1.4.2  yamt   long l[2];
    233  1.1.1.1.4.2  yamt   REAL_VALUE_TYPE rv;
    234  1.1.1.1.4.2  yamt 
    235  1.1.1.1.4.2  yamt   REAL_VALUE_FROM_CONST_DOUBLE (rv, operands[1]);
    236  1.1.1.1.4.2  yamt   REAL_VALUE_TO_TARGET_DECIMAL64 (rv, l);
    237  1.1.1.1.4.2  yamt 
    238  1.1.1.1.4.2  yamt   operands[2] = operand_subword (operands[0], endian, 0, DDmode);
    239  1.1.1.1.4.2  yamt   operands[3] = operand_subword (operands[0], 1 - endian, 0, DDmode);
    240  1.1.1.1.4.2  yamt   operands[4] = gen_int_mode (l[endian], SImode);
    241  1.1.1.1.4.2  yamt   operands[5] = gen_int_mode (l[1 - endian], SImode);
    242  1.1.1.1.4.2  yamt }")
    243  1.1.1.1.4.2  yamt 
    244  1.1.1.1.4.2  yamt (define_split
    245  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "")
    246  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "const_double_operand" ""))]
    247  1.1.1.1.4.2  yamt   "TARGET_POWERPC64 && reload_completed
    248  1.1.1.1.4.2  yamt    && ((GET_CODE (operands[0]) == REG && REGNO (operands[0]) <= 31)
    249  1.1.1.1.4.2  yamt        || (GET_CODE (operands[0]) == SUBREG
    250  1.1.1.1.4.2  yamt 	   && GET_CODE (SUBREG_REG (operands[0])) == REG
    251  1.1.1.1.4.2  yamt 	   && REGNO (SUBREG_REG (operands[0])) <= 31))"
    252  1.1.1.1.4.2  yamt   [(set (match_dup 2) (match_dup 3))]
    253  1.1.1.1.4.2  yamt   "
    254  1.1.1.1.4.2  yamt {
    255  1.1.1.1.4.2  yamt   int endian = (WORDS_BIG_ENDIAN == 0);
    256  1.1.1.1.4.2  yamt   long l[2];
    257  1.1.1.1.4.2  yamt   REAL_VALUE_TYPE rv;
    258  1.1.1.1.4.2  yamt #if HOST_BITS_PER_WIDE_INT >= 64
    259  1.1.1.1.4.2  yamt   HOST_WIDE_INT val;
    260  1.1.1.1.4.2  yamt #endif
    261  1.1.1.1.4.2  yamt 
    262  1.1.1.1.4.2  yamt   REAL_VALUE_FROM_CONST_DOUBLE (rv, operands[1]);
    263  1.1.1.1.4.2  yamt   REAL_VALUE_TO_TARGET_DECIMAL64 (rv, l);
    264  1.1.1.1.4.2  yamt 
    265  1.1.1.1.4.2  yamt   operands[2] = gen_lowpart (DImode, operands[0]);
    266  1.1.1.1.4.2  yamt   /* HIGHPART is lower memory address when WORDS_BIG_ENDIAN.  */
    267  1.1.1.1.4.2  yamt #if HOST_BITS_PER_WIDE_INT >= 64
    268  1.1.1.1.4.2  yamt   val = ((HOST_WIDE_INT)(unsigned long)l[endian] << 32
    269  1.1.1.1.4.2  yamt 	 | ((HOST_WIDE_INT)(unsigned long)l[1 - endian]));
    270  1.1.1.1.4.2  yamt 
    271  1.1.1.1.4.2  yamt   operands[3] = gen_int_mode (val, DImode);
    272  1.1.1.1.4.2  yamt #else
    273  1.1.1.1.4.2  yamt   operands[3] = immed_double_const (l[1 - endian], l[endian], DImode);
    274  1.1.1.1.4.2  yamt #endif
    275  1.1.1.1.4.2  yamt }")
    276  1.1.1.1.4.2  yamt 
    277  1.1.1.1.4.2  yamt ;; Don't have reload use general registers to load a constant.  First,
    278  1.1.1.1.4.2  yamt ;; it might not work if the output operand is the equivalent of
    279  1.1.1.1.4.2  yamt ;; a non-offsettable memref, but also it is less efficient than loading
    280  1.1.1.1.4.2  yamt ;; the constant into an FP register, since it will probably be used there.
    281  1.1.1.1.4.2  yamt ;; The "??" is a kludge until we can figure out a more reasonable way
    282  1.1.1.1.4.2  yamt ;; of handling these non-offsettable values.
    283  1.1.1.1.4.2  yamt (define_insn "*movdd_hardfloat32"
    284  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=!r,??r,m,d,d,m,!r,!r,!r")
    285  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "input_operand" "r,m,r,d,m,d,G,H,F"))]
    286  1.1.1.1.4.2  yamt   "! TARGET_POWERPC64 && TARGET_HARD_FLOAT && TARGET_FPRS
    287  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], DDmode)
    288  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], DDmode))"
    289  1.1.1.1.4.2  yamt   "*
    290  1.1.1.1.4.2  yamt {
    291  1.1.1.1.4.2  yamt   switch (which_alternative)
    292  1.1.1.1.4.2  yamt     {
    293  1.1.1.1.4.2  yamt     default:
    294  1.1.1.1.4.2  yamt       gcc_unreachable ();
    295  1.1.1.1.4.2  yamt     case 0:
    296  1.1.1.1.4.2  yamt     case 1:
    297  1.1.1.1.4.2  yamt     case 2:
    298  1.1.1.1.4.2  yamt       return \"#\";
    299  1.1.1.1.4.2  yamt     case 3:
    300  1.1.1.1.4.2  yamt       return \"fmr %0,%1\";
    301  1.1.1.1.4.2  yamt     case 4:
    302  1.1.1.1.4.2  yamt       return \"lfd%U1%X1 %0,%1\";
    303  1.1.1.1.4.2  yamt     case 5:
    304  1.1.1.1.4.2  yamt       return \"stfd%U0%X0 %1,%0\";
    305  1.1.1.1.4.2  yamt     case 6:
    306  1.1.1.1.4.2  yamt     case 7:
    307  1.1.1.1.4.2  yamt     case 8:
    308  1.1.1.1.4.2  yamt       return \"#\";
    309  1.1.1.1.4.2  yamt     }
    310  1.1.1.1.4.2  yamt }"
    311  1.1.1.1.4.2  yamt   [(set_attr "type" "two,load,store,fp,fpload,fpstore,*,*,*")
    312  1.1.1.1.4.2  yamt    (set_attr "length" "8,16,16,4,4,4,8,12,16")])
    313  1.1.1.1.4.2  yamt 
    314  1.1.1.1.4.2  yamt (define_insn "*movdd_softfloat32"
    315  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=r,r,m,r,r,r")
    316  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "input_operand" "r,m,r,G,H,F"))]
    317  1.1.1.1.4.2  yamt   "! TARGET_POWERPC64 && (TARGET_SOFT_FLOAT || !TARGET_FPRS)
    318  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], DDmode)
    319  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], DDmode))"
    320  1.1.1.1.4.2  yamt   "#"
    321  1.1.1.1.4.2  yamt   [(set_attr "type" "two,load,store,*,*,*")
    322  1.1.1.1.4.2  yamt    (set_attr "length" "8,8,8,8,12,16")])
    323  1.1.1.1.4.2  yamt 
    324  1.1.1.1.4.2  yamt ; ld/std require word-aligned displacements -> 'Y' constraint.
    325  1.1.1.1.4.2  yamt ; List Y->r and r->Y before r->r for reload.
    326  1.1.1.1.4.2  yamt (define_insn "*movdd_hardfloat64_mfpgpr"
    327  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=Y,r,!r,d,d,m,*c*l,!r,*h,!r,!r,!r,r,d")
    328  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "input_operand" "r,Y,r,d,m,d,r,h,0,G,H,F,d,r"))]
    329  1.1.1.1.4.2  yamt   "TARGET_POWERPC64 && TARGET_MFPGPR && TARGET_HARD_FLOAT && TARGET_FPRS
    330  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], DDmode)
    331  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], DDmode))"
    332  1.1.1.1.4.2  yamt   "@
    333  1.1.1.1.4.2  yamt    std%U0%X0 %1,%0
    334  1.1.1.1.4.2  yamt    ld%U1%X1 %0,%1
    335  1.1.1.1.4.2  yamt    mr %0,%1
    336  1.1.1.1.4.2  yamt    fmr %0,%1
    337  1.1.1.1.4.2  yamt    lfd%U1%X1 %0,%1
    338  1.1.1.1.4.2  yamt    stfd%U0%X0 %1,%0
    339  1.1.1.1.4.2  yamt    mt%0 %1
    340  1.1.1.1.4.2  yamt    mf%1 %0
    341  1.1.1.1.4.2  yamt    {cror 0,0,0|nop}
    342  1.1.1.1.4.2  yamt    #
    343  1.1.1.1.4.2  yamt    #
    344  1.1.1.1.4.2  yamt    #
    345  1.1.1.1.4.2  yamt    mftgpr %0,%1
    346  1.1.1.1.4.2  yamt    mffgpr %0,%1"
    347  1.1.1.1.4.2  yamt   [(set_attr "type" "store,load,*,fp,fpload,fpstore,mtjmpr,mfjmpr,*,*,*,*,mftgpr,mffgpr")
    348  1.1.1.1.4.2  yamt    (set_attr "length" "4,4,4,4,4,4,4,4,4,8,12,16,4,4")])
    349  1.1.1.1.4.2  yamt 
    350  1.1.1.1.4.2  yamt ; ld/std require word-aligned displacements -> 'Y' constraint.
    351  1.1.1.1.4.2  yamt ; List Y->r and r->Y before r->r for reload.
    352  1.1.1.1.4.2  yamt (define_insn "*movdd_hardfloat64"
    353  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=Y,r,!r,d,d,m,*c*l,!r,*h,!r,!r,!r")
    354  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "input_operand" "r,Y,r,d,m,d,r,h,0,G,H,F"))]
    355  1.1.1.1.4.2  yamt   "TARGET_POWERPC64 && !TARGET_MFPGPR && TARGET_HARD_FLOAT && TARGET_FPRS
    356  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], DDmode)
    357  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], DDmode))"
    358  1.1.1.1.4.2  yamt   "@
    359  1.1.1.1.4.2  yamt    std%U0%X0 %1,%0
    360  1.1.1.1.4.2  yamt    ld%U1%X1 %0,%1
    361  1.1.1.1.4.2  yamt    mr %0,%1
    362  1.1.1.1.4.2  yamt    fmr %0,%1
    363  1.1.1.1.4.2  yamt    lfd%U1%X1 %0,%1
    364  1.1.1.1.4.2  yamt    stfd%U0%X0 %1,%0
    365  1.1.1.1.4.2  yamt    mt%0 %1
    366  1.1.1.1.4.2  yamt    mf%1 %0
    367  1.1.1.1.4.2  yamt    {cror 0,0,0|nop}
    368  1.1.1.1.4.2  yamt    #
    369  1.1.1.1.4.2  yamt    #
    370  1.1.1.1.4.2  yamt    #"
    371  1.1.1.1.4.2  yamt   [(set_attr "type" "store,load,*,fp,fpload,fpstore,mtjmpr,mfjmpr,*,*,*,*")
    372  1.1.1.1.4.2  yamt    (set_attr "length" "4,4,4,4,4,4,4,4,4,8,12,16")])
    373  1.1.1.1.4.2  yamt 
    374  1.1.1.1.4.2  yamt (define_insn "*movdd_softfloat64"
    375  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "nonimmediate_operand" "=r,Y,r,cl,r,r,r,r,*h")
    376  1.1.1.1.4.2  yamt 	(match_operand:DD 1 "input_operand" "Y,r,r,r,h,G,H,F,0"))]
    377  1.1.1.1.4.2  yamt   "TARGET_POWERPC64 && (TARGET_SOFT_FLOAT || !TARGET_FPRS)
    378  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], DDmode)
    379  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], DDmode))"
    380  1.1.1.1.4.2  yamt   "@
    381  1.1.1.1.4.2  yamt    ld%U1%X1 %0,%1
    382  1.1.1.1.4.2  yamt    std%U0%X0 %1,%0
    383  1.1.1.1.4.2  yamt    mr %0,%1
    384  1.1.1.1.4.2  yamt    mt%0 %1
    385  1.1.1.1.4.2  yamt    mf%1 %0
    386  1.1.1.1.4.2  yamt    #
    387  1.1.1.1.4.2  yamt    #
    388  1.1.1.1.4.2  yamt    #
    389  1.1.1.1.4.2  yamt    {cror 0,0,0|nop}"
    390  1.1.1.1.4.2  yamt   [(set_attr "type" "load,store,*,mtjmpr,mfjmpr,*,*,*,*")
    391  1.1.1.1.4.2  yamt    (set_attr "length" "4,4,4,4,4,8,12,16,4")])
    392  1.1.1.1.4.2  yamt 
    393  1.1.1.1.4.2  yamt (define_expand "negtd2"
    394  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "")
    395  1.1.1.1.4.2  yamt 	(neg:TD (match_operand:TD 1 "gpc_reg_operand" "")))]
    396  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    397  1.1.1.1.4.2  yamt   "")
    398  1.1.1.1.4.2  yamt 
    399  1.1.1.1.4.2  yamt (define_insn "*negtd2_fpr"
    400  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    401  1.1.1.1.4.2  yamt 	(neg:TD (match_operand:TD 1 "gpc_reg_operand" "d")))]
    402  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    403  1.1.1.1.4.2  yamt   "fneg %0,%1"
    404  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    405  1.1.1.1.4.2  yamt 
    406  1.1.1.1.4.2  yamt (define_expand "abstd2"
    407  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "")
    408  1.1.1.1.4.2  yamt 	(abs:TD (match_operand:TD 1 "gpc_reg_operand" "")))]
    409  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    410  1.1.1.1.4.2  yamt   "")
    411  1.1.1.1.4.2  yamt 
    412  1.1.1.1.4.2  yamt (define_insn "*abstd2_fpr"
    413  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    414  1.1.1.1.4.2  yamt 	(abs:TD (match_operand:TD 1 "gpc_reg_operand" "d")))]
    415  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    416  1.1.1.1.4.2  yamt   "fabs %0,%1"
    417  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    418  1.1.1.1.4.2  yamt 
    419  1.1.1.1.4.2  yamt (define_insn "*nabstd2_fpr"
    420  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    421  1.1.1.1.4.2  yamt 	(neg:TD (abs:TD (match_operand:TD 1 "gpc_reg_operand" "d"))))]
    422  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    423  1.1.1.1.4.2  yamt   "fnabs %0,%1"
    424  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    425  1.1.1.1.4.2  yamt 
    426  1.1.1.1.4.2  yamt (define_expand "movtd"
    427  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "general_operand" "")
    428  1.1.1.1.4.2  yamt 	(match_operand:TD 1 "any_operand" ""))]
    429  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS"
    430  1.1.1.1.4.2  yamt   "{ rs6000_emit_move (operands[0], operands[1], TDmode); DONE; }")
    431  1.1.1.1.4.2  yamt 
    432  1.1.1.1.4.2  yamt ; It's important to list the o->f and f->o moves before f->f because
    433  1.1.1.1.4.2  yamt ; otherwise reload, given m->f, will try to pick f->f and reload it,
    434  1.1.1.1.4.2  yamt ; which doesn't make progress.  Likewise r->Y must be before r->r.
    435  1.1.1.1.4.2  yamt (define_insn_and_split "*movtd_internal"
    436  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "nonimmediate_operand" "=o,d,d,r,Y,r")
    437  1.1.1.1.4.2  yamt 	(match_operand:TD 1 "input_operand"         "d,o,d,YGHF,r,r"))]
    438  1.1.1.1.4.2  yamt   "TARGET_HARD_FLOAT && TARGET_FPRS
    439  1.1.1.1.4.2  yamt    && (gpc_reg_operand (operands[0], TDmode)
    440  1.1.1.1.4.2  yamt        || gpc_reg_operand (operands[1], TDmode))"
    441  1.1.1.1.4.2  yamt   "#"
    442  1.1.1.1.4.2  yamt   "&& reload_completed"
    443  1.1.1.1.4.2  yamt   [(pc)]
    444  1.1.1.1.4.2  yamt { rs6000_split_multireg_move (operands[0], operands[1]); DONE; }
    445  1.1.1.1.4.2  yamt   [(set_attr "length" "8,8,8,20,20,16")])
    446  1.1.1.1.4.2  yamt 
    447  1.1.1.1.4.2  yamt ;; Hardware support for decimal floating point operations.
    448  1.1.1.1.4.2  yamt 
    449  1.1.1.1.4.2  yamt (define_insn "extendddtd2"
    450  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    451  1.1.1.1.4.2  yamt 	(float_extend:TD (match_operand:DD 1 "gpc_reg_operand" "d")))]
    452  1.1.1.1.4.2  yamt   "TARGET_DFP"
    453  1.1.1.1.4.2  yamt   "dctqpq %0,%1"
    454  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    455  1.1.1.1.4.2  yamt 
    456  1.1.1.1.4.2  yamt ;; The result of drdpq is an even/odd register pair with the converted
    457  1.1.1.1.4.2  yamt ;; value in the even register and zero in the odd register.
    458  1.1.1.1.4.2  yamt ;; FIXME: Avoid the register move by using a reload constraint to ensure
    459  1.1.1.1.4.2  yamt ;; that the result is the first of the pair receiving the result of drdpq.
    460  1.1.1.1.4.2  yamt 
    461  1.1.1.1.4.2  yamt (define_insn "trunctddd2"
    462  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    463  1.1.1.1.4.2  yamt 	(float_truncate:DD (match_operand:TD 1 "gpc_reg_operand" "d")))
    464  1.1.1.1.4.2  yamt    (clobber (match_scratch:TD 2 "=d"))]
    465  1.1.1.1.4.2  yamt   "TARGET_DFP"
    466  1.1.1.1.4.2  yamt   "drdpq %2,%1\;fmr %0,%2"
    467  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    468  1.1.1.1.4.2  yamt 
    469  1.1.1.1.4.2  yamt (define_insn "adddd3"
    470  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    471  1.1.1.1.4.2  yamt 	(plus:DD (match_operand:DD 1 "gpc_reg_operand" "%d")
    472  1.1.1.1.4.2  yamt 		 (match_operand:DD 2 "gpc_reg_operand" "d")))]
    473  1.1.1.1.4.2  yamt   "TARGET_DFP"
    474  1.1.1.1.4.2  yamt   "dadd %0,%1,%2"
    475  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    476  1.1.1.1.4.2  yamt 
    477  1.1.1.1.4.2  yamt (define_insn "addtd3"
    478  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    479  1.1.1.1.4.2  yamt 	(plus:TD (match_operand:TD 1 "gpc_reg_operand" "%d")
    480  1.1.1.1.4.2  yamt 		 (match_operand:TD 2 "gpc_reg_operand" "d")))]
    481  1.1.1.1.4.2  yamt   "TARGET_DFP"
    482  1.1.1.1.4.2  yamt   "daddq %0,%1,%2"
    483  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    484  1.1.1.1.4.2  yamt 
    485  1.1.1.1.4.2  yamt (define_insn "subdd3"
    486  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    487  1.1.1.1.4.2  yamt 	(minus:DD (match_operand:DD 1 "gpc_reg_operand" "d")
    488  1.1.1.1.4.2  yamt 		  (match_operand:DD 2 "gpc_reg_operand" "d")))]
    489  1.1.1.1.4.2  yamt   "TARGET_DFP"
    490  1.1.1.1.4.2  yamt   "dsub %0,%1,%2"
    491  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    492  1.1.1.1.4.2  yamt 
    493  1.1.1.1.4.2  yamt (define_insn "subtd3"
    494  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    495  1.1.1.1.4.2  yamt 	(minus:TD (match_operand:TD 1 "gpc_reg_operand" "d")
    496  1.1.1.1.4.2  yamt 		  (match_operand:TD 2 "gpc_reg_operand" "d")))]
    497  1.1.1.1.4.2  yamt   "TARGET_DFP"
    498  1.1.1.1.4.2  yamt   "dsubq %0,%1,%2"
    499  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    500  1.1.1.1.4.2  yamt 
    501  1.1.1.1.4.2  yamt (define_insn "muldd3"
    502  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    503  1.1.1.1.4.2  yamt 	(mult:DD (match_operand:DD 1 "gpc_reg_operand" "%d")
    504  1.1.1.1.4.2  yamt 		 (match_operand:DD 2 "gpc_reg_operand" "d")))]
    505  1.1.1.1.4.2  yamt   "TARGET_DFP"
    506  1.1.1.1.4.2  yamt   "dmul %0,%1,%2"
    507  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    508  1.1.1.1.4.2  yamt 
    509  1.1.1.1.4.2  yamt (define_insn "multd3"
    510  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    511  1.1.1.1.4.2  yamt 	(mult:TD (match_operand:TD 1 "gpc_reg_operand" "%d")
    512  1.1.1.1.4.2  yamt 		 (match_operand:TD 2 "gpc_reg_operand" "d")))]
    513  1.1.1.1.4.2  yamt   "TARGET_DFP"
    514  1.1.1.1.4.2  yamt   "dmulq %0,%1,%2"
    515  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    516  1.1.1.1.4.2  yamt 
    517  1.1.1.1.4.2  yamt (define_insn "divdd3"
    518  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    519  1.1.1.1.4.2  yamt 	(div:DD (match_operand:DD 1 "gpc_reg_operand" "d")
    520  1.1.1.1.4.2  yamt 		(match_operand:DD 2 "gpc_reg_operand" "d")))]
    521  1.1.1.1.4.2  yamt   "TARGET_DFP"
    522  1.1.1.1.4.2  yamt   "ddiv %0,%1,%2"
    523  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    524  1.1.1.1.4.2  yamt 
    525  1.1.1.1.4.2  yamt (define_insn "divtd3"
    526  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    527  1.1.1.1.4.2  yamt 	(div:TD (match_operand:TD 1 "gpc_reg_operand" "d")
    528  1.1.1.1.4.2  yamt 		(match_operand:TD 2 "gpc_reg_operand" "d")))]
    529  1.1.1.1.4.2  yamt   "TARGET_DFP"
    530  1.1.1.1.4.2  yamt   "ddivq %0,%1,%2"
    531  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    532  1.1.1.1.4.2  yamt 
    533  1.1.1.1.4.2  yamt (define_insn "*cmpdd_internal1"
    534  1.1.1.1.4.2  yamt   [(set (match_operand:CCFP 0 "cc_reg_operand" "=y")
    535  1.1.1.1.4.2  yamt 	(compare:CCFP (match_operand:DD 1 "gpc_reg_operand" "d")
    536  1.1.1.1.4.2  yamt 		      (match_operand:DD 2 "gpc_reg_operand" "d")))]
    537  1.1.1.1.4.2  yamt   "TARGET_DFP"
    538  1.1.1.1.4.2  yamt   "dcmpu %0,%1,%2"
    539  1.1.1.1.4.2  yamt   [(set_attr "type" "fpcompare")])
    540  1.1.1.1.4.2  yamt 
    541  1.1.1.1.4.2  yamt (define_insn "*cmptd_internal1"
    542  1.1.1.1.4.2  yamt   [(set (match_operand:CCFP 0 "cc_reg_operand" "=y")
    543  1.1.1.1.4.2  yamt 	(compare:CCFP (match_operand:TD 1 "gpc_reg_operand" "d")
    544  1.1.1.1.4.2  yamt 		      (match_operand:TD 2 "gpc_reg_operand" "d")))]
    545  1.1.1.1.4.2  yamt   "TARGET_DFP"
    546  1.1.1.1.4.2  yamt   "dcmpuq %0,%1,%2"
    547  1.1.1.1.4.2  yamt   [(set_attr "type" "fpcompare")])
    548  1.1.1.1.4.2  yamt 
    549  1.1.1.1.4.2  yamt (define_insn "floatditd2"
    550  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    551  1.1.1.1.4.2  yamt 	(float:TD (match_operand:DI 1 "gpc_reg_operand" "d")))]
    552  1.1.1.1.4.2  yamt   "TARGET_DFP"
    553  1.1.1.1.4.2  yamt   "dcffixq %0,%1"
    554  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    555  1.1.1.1.4.2  yamt 
    556  1.1.1.1.4.2  yamt ;; Convert a decimal64 to a decimal64 whose value is an integer.
    557  1.1.1.1.4.2  yamt ;; This is the first stage of converting it to an integer type.
    558  1.1.1.1.4.2  yamt 
    559  1.1.1.1.4.2  yamt (define_insn "ftruncdd2"
    560  1.1.1.1.4.2  yamt   [(set (match_operand:DD 0 "gpc_reg_operand" "=d")
    561  1.1.1.1.4.2  yamt 	(fix:DD (match_operand:DD 1 "gpc_reg_operand" "d")))]
    562  1.1.1.1.4.2  yamt   "TARGET_DFP"
    563  1.1.1.1.4.2  yamt   "drintn. 0,%0,%1,1"
    564  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    565  1.1.1.1.4.2  yamt 
    566  1.1.1.1.4.2  yamt ;; Convert a decimal64 whose value is an integer to an actual integer.
    567  1.1.1.1.4.2  yamt ;; This is the second stage of converting decimal float to integer type.
    568  1.1.1.1.4.2  yamt 
    569  1.1.1.1.4.2  yamt (define_insn "fixdddi2"
    570  1.1.1.1.4.2  yamt   [(set (match_operand:DI 0 "gpc_reg_operand" "=d")
    571  1.1.1.1.4.2  yamt 	(fix:DI (match_operand:DD 1 "gpc_reg_operand" "d")))]
    572  1.1.1.1.4.2  yamt   "TARGET_DFP"
    573  1.1.1.1.4.2  yamt   "dctfix %0,%1"
    574  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    575  1.1.1.1.4.2  yamt 
    576  1.1.1.1.4.2  yamt ;; Convert a decimal128 to a decimal128 whose value is an integer.
    577  1.1.1.1.4.2  yamt ;; This is the first stage of converting it to an integer type.
    578  1.1.1.1.4.2  yamt 
    579  1.1.1.1.4.2  yamt (define_insn "ftrunctd2"
    580  1.1.1.1.4.2  yamt   [(set (match_operand:TD 0 "gpc_reg_operand" "=d")
    581  1.1.1.1.4.2  yamt 	(fix:TD (match_operand:TD 1 "gpc_reg_operand" "d")))]
    582  1.1.1.1.4.2  yamt   "TARGET_DFP"
    583  1.1.1.1.4.2  yamt   "drintnq. 0,%0,%1,1"
    584  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    585  1.1.1.1.4.2  yamt 
    586  1.1.1.1.4.2  yamt ;; Convert a decimal128 whose value is an integer to an actual integer.
    587  1.1.1.1.4.2  yamt ;; This is the second stage of converting decimal float to integer type.
    588  1.1.1.1.4.2  yamt 
    589  1.1.1.1.4.2  yamt (define_insn "fixtddi2"
    590  1.1.1.1.4.2  yamt   [(set (match_operand:DI 0 "gpc_reg_operand" "=d")
    591  1.1.1.1.4.2  yamt 	(fix:DI (match_operand:TD 1 "gpc_reg_operand" "d")))]
    592  1.1.1.1.4.2  yamt   "TARGET_DFP"
    593  1.1.1.1.4.2  yamt   "dctfixq %0,%1"
    594  1.1.1.1.4.2  yamt   [(set_attr "type" "fp")])
    595