1*883529b6Schristos; Toshiba MeP FMAX Coprocessor description. -*- Scheme -*- 2*883529b6Schristos; Copyright 2011 Free Software Foundation, Inc. 3*883529b6Schristos; 4*883529b6Schristos; Contributed by Red Hat Inc; 5*883529b6Schristos; 6*883529b6Schristos; This file is part of the GNU Binutils. 7*883529b6Schristos; 8*883529b6Schristos; This program is free software; you can redistribute it and/or modify 9*883529b6Schristos; it under the terms of the GNU General Public License as published by 10*883529b6Schristos; the Free Software Foundation; either version 3 of the License, or 11*883529b6Schristos; (at your option) any later version. 12*883529b6Schristos; 13*883529b6Schristos; This program is distributed in the hope that it will be useful, 14*883529b6Schristos; but WITHOUT ANY WARRANTY; without even the implied warranty of 15*883529b6Schristos; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*883529b6Schristos; GNU General Public License for more details. 17*883529b6Schristos; 18*883529b6Schristos; You should have received a copy of the GNU General Public License 19*883529b6Schristos; along with this program; if not, write to the Free Software 20*883529b6Schristos; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 21*883529b6Schristos; MA 02110-1301, USA. 22*883529b6Schristos 23*883529b6Schristos;------------------------------------------------------------------------------ 24*883529b6Schristos; MeP-Integrator will redefine the isa pmacros below to allow the bit widths 25*883529b6Schristos; specified below for each ME_MODULE using this coprocessor. 26*883529b6Schristos; This coprocessor requires only the 32 bit insns in the core. 27*883529b6Schristos;------------------------------------------------------------------------------ 28*883529b6Schristos; begin-isas 29*883529b6Schristos(define-pmacro fmax-core-isa () (ISA ext_core2)) 30*883529b6Schristos(define-pmacro all-fmax-isas () (ISA ext_core2)) 31*883529b6Schristos; end-isas 32*883529b6Schristos 33*883529b6Schristos;****************************************************************************** 34*883529b6Schristos; ifields 35*883529b6Schristos;------------------------------------------------------------------------------ 36*883529b6Schristos; opcodes 37*883529b6Schristos(dnf f-fmax-0-4 "opcode" (all-fmax-isas) 0 4) 38*883529b6Schristos(dnf f-fmax-4-4 "opcode" (all-fmax-isas) 4 4) 39*883529b6Schristos(dnf f-fmax-8-4 "opcode" (all-fmax-isas) 8 4) 40*883529b6Schristos(dnf f-fmax-12-4 "opcode" (all-fmax-isas) 12 4) 41*883529b6Schristos(dnf f-fmax-16-4 "opcode" (all-fmax-isas) 16 4) 42*883529b6Schristos(dnf f-fmax-20-4 "opcode" (all-fmax-isas) 20 4) 43*883529b6Schristos(dnf f-fmax-24-4 "opcode" (all-fmax-isas) 24 4) 44*883529b6Schristos(dnf f-fmax-28-1 "opcode" (all-fmax-isas) 28 1) 45*883529b6Schristos(dnf f-fmax-29-1 "opcode" (all-fmax-isas) 29 1) 46*883529b6Schristos(dnf f-fmax-30-1 "opcode" (all-fmax-isas) 30 1) 47*883529b6Schristos(dnf f-fmax-31-1 "opcode" (all-fmax-isas) 31 1) 48*883529b6Schristos 49*883529b6Schristos;------------------------------------------------------------------------------ 50*883529b6Schristos; FR registers 51*883529b6Schristos(define-multi-ifield 52*883529b6Schristos (name f-fmax-frd) 53*883529b6Schristos (comment "FRd register") 54*883529b6Schristos (attrs all-fmax-isas) 55*883529b6Schristos (mode UINT) 56*883529b6Schristos (subfields f-fmax-28-1 f-fmax-4-4) 57*883529b6Schristos (insert (sequence () 58*883529b6Schristos (set (ifield f-fmax-4-4) (and (ifield f-fmax-frd) #xf)) 59*883529b6Schristos (set (ifield f-fmax-28-1) (srl (ifield f-fmax-frd) 4)))) 60*883529b6Schristos (extract (set (ifield f-fmax-frd) 61*883529b6Schristos (or (sll (ifield f-fmax-28-1) 4) (ifield f-fmax-4-4)))) 62*883529b6Schristos) 63*883529b6Schristos(define-multi-ifield 64*883529b6Schristos (name f-fmax-frn) 65*883529b6Schristos (comment "FRn register") 66*883529b6Schristos (attrs all-fmax-isas) 67*883529b6Schristos (mode UINT) 68*883529b6Schristos (subfields f-fmax-29-1 f-fmax-20-4) 69*883529b6Schristos (insert (sequence () 70*883529b6Schristos (set (ifield f-fmax-20-4) (and (ifield f-fmax-frn) #xf)) 71*883529b6Schristos (set (ifield f-fmax-29-1) (srl (ifield f-fmax-frn) 4)))) 72*883529b6Schristos (extract (set (ifield f-fmax-frn) 73*883529b6Schristos (or (sll (ifield f-fmax-29-1) 4) (ifield f-fmax-20-4)))) 74*883529b6Schristos) 75*883529b6Schristos(define-multi-ifield 76*883529b6Schristos (name f-fmax-frm) 77*883529b6Schristos (comment "FRm register") 78*883529b6Schristos (attrs all-fmax-isas) 79*883529b6Schristos (mode UINT) 80*883529b6Schristos (subfields f-fmax-30-1 f-fmax-24-4) 81*883529b6Schristos (insert (sequence () 82*883529b6Schristos (set (ifield f-fmax-24-4) (and (ifield f-fmax-frm) #xf)) 83*883529b6Schristos (set (ifield f-fmax-30-1) (srl (ifield f-fmax-frm) 4)))) 84*883529b6Schristos (extract (set (ifield f-fmax-frm) 85*883529b6Schristos (or (sll (ifield f-fmax-30-1) 4) (ifield f-fmax-24-4)))) 86*883529b6Schristos) 87*883529b6Schristos 88*883529b6Schristos;------------------------------------------------------------------------------ 89*883529b6Schristos; Core General registers 90*883529b6Schristos(dnf f-fmax-rm "opcode" (all-fmax-isas) 8 4) 91*883529b6Schristos 92*883529b6Schristos;------------------------------------------------------------------------------ 93*883529b6Schristos; Condition opcodes enum 94*883529b6Schristos(define-normal-insn-enum fmax-cond "condition opcode enum" (all-fmax-isas) FMAX_ f-fmax-8-4 95*883529b6Schristos ("f" "u" "e" "ue" "l" "ul" "le" "ule" 96*883529b6Schristos "fi" "ui" "ei" "uei" "li" "uli" "lei" "ulei") 97*883529b6Schristos) 98*883529b6Schristos 99*883529b6Schristos;****************************************************************************** 100*883529b6Schristos; Hardware 101*883529b6Schristos;------------------------------------------------------------------------------ 102*883529b6Schristos; FR registers 103*883529b6Schristos 104*883529b6Schristos; Given a coprocessor register number N, expand to a 105*883529b6Schristos; name/index pair: ($frN N) 106*883529b6Schristos(define-pmacro (-fmax-fr-reg-pair n) ((.sym "fr" n) n)) 107*883529b6Schristos(define-pmacro (-fmax-cr-reg-pair n) ((.sym "c" n) n)) 108*883529b6Schristos 109*883529b6Schristos; NOTE: This exists solely for the purpose of providing the proper register names for this coprocessor. 110*883529b6Schristos; GDB will use the hardware table generated from this declaration. The operands use h-cr 111*883529b6Schristos; from mep-core.cpu so that SID's semantic trace will be consistent between 112*883529b6Schristos; the core and the coprocessor but use parse/print handlers which reference the hardware table 113*883529b6Schristos; generated from this declarations 114*883529b6Schristos(define-hardware 115*883529b6Schristos (name h-cr-fmax) 116*883529b6Schristos (comment "Floating point registers") 117*883529b6Schristos (attrs all-fmax-isas VIRTUAL IS_FLOAT) 118*883529b6Schristos (type register SF (32)) 119*883529b6Schristos (indices keyword "$" 120*883529b6Schristos (.splice (.unsplice (.map -fmax-fr-reg-pair (.iota 32))) 121*883529b6Schristos (.unsplice (.map -fmax-cr-reg-pair (.iota 32)))) 122*883529b6Schristos ) 123*883529b6Schristos (get (index) (c-call SF "fmax_fr_get_handler" index)) 124*883529b6Schristos (set (index newval) (c-call VOID "fmax_fr_set_handler" index newval)) 125*883529b6Schristos) 126*883529b6Schristos 127*883529b6Schristos;------------------------------------------------------------------------------ 128*883529b6Schristos; Control registers 129*883529b6Schristos; NOTE: This exists solely for the purpose of providing the proper register names for this coprocessor. 130*883529b6Schristos; GDB will use the hardware table generated from this declaration. The operands use h-ccr 131*883529b6Schristos; from mep-core.cpu so that SID's semantic trace will be consistent between 132*883529b6Schristos; the core and the coprocessor but use parse/print handlers which reference the hardware table 133*883529b6Schristos; generated from this declarations 134*883529b6Schristos(define-hardware 135*883529b6Schristos (name h-ccr-fmax) 136*883529b6Schristos (comment "Coprocessor Identifier and Revision Register") 137*883529b6Schristos (attrs all-fmax-isas VIRTUAL) 138*883529b6Schristos (type register USI (16)) 139*883529b6Schristos (indices keyword "$" ( 140*883529b6Schristos ("cirr" 0) ("fcr0" 0) ("ccr0" 0) 141*883529b6Schristos ("cbcr" 1) ("fcr1" 1) ("ccr1" 1) 142*883529b6Schristos ("cerr" 15) ("fcr15" 15) ("ccr15" 15) 143*883529b6Schristos ) 144*883529b6Schristos ) 145*883529b6Schristos (set (index newval) (c-call VOID "h_ccr_set" index newval)) 146*883529b6Schristos (get (index) (c-call SI "h_ccr_get" index)) 147*883529b6Schristos) 148*883529b6Schristos 149*883529b6Schristos;------------------------------------------------------------------------------ 150*883529b6Schristos; Misc 151*883529b6Schristos(define-hardware 152*883529b6Schristos (name h-fmax-compare-i-p) 153*883529b6Schristos (comment "flag") 154*883529b6Schristos (attrs all-fmax-isas) 155*883529b6Schristos (type register USI) 156*883529b6Schristos) 157*883529b6Schristos 158*883529b6Schristos;****************************************************************************** 159*883529b6Schristos; Operands 160*883529b6Schristos;------------------------------------------------------------------------------ 161*883529b6Schristos; FR Registers 162*883529b6Schristos(define-full-operand fmax-FRd "FRd" (all-fmax-isas (CDATA FMAX_FLOAT)) h-cr SF f-fmax-frd ((parse "fmax_cr") (print "fmax_cr")) () ()) 163*883529b6Schristos(define-full-operand fmax-FRn "FRn" (all-fmax-isas (CDATA FMAX_FLOAT)) h-cr SF f-fmax-frn ((parse "fmax_cr") (print "fmax_cr")) () ()) 164*883529b6Schristos(define-full-operand fmax-FRm "FRm" (all-fmax-isas (CDATA FMAX_FLOAT)) h-cr SF f-fmax-frm ((parse "fmax_cr") (print "fmax_cr")) () ()) 165*883529b6Schristos 166*883529b6Schristos(define-full-operand fmax-FRd-int "FRd as an integer" (all-fmax-isas (CDATA FMAX_INT)) h-cr SI f-fmax-frd ((parse "fmax_cr") (print "fmax_cr")) () ()) 167*883529b6Schristos(define-full-operand fmax-FRn-int "FRn as an integer" (all-fmax-isas (CDATA FMAX_INT)) h-cr SI f-fmax-frn ((parse "fmax_cr") (print "fmax_cr")) () ()) 168*883529b6Schristos 169*883529b6Schristos;------------------------------------------------------------------------------ 170*883529b6Schristos; Control registers 171*883529b6Schristos(define-full-operand fmax-CCRn "CCRn" (all-fmax-isas (CDATA REGNUM)) h-ccr DFLT f-fmax-4-4 ((parse "fmax_ccr") (print "fmax_ccr")) () ()) 172*883529b6Schristos 173*883529b6Schristos(dnop fmax-CIRR "CIRR" (all-fmax-isas SEM-ONLY) h-ccr 0) 174*883529b6Schristos(dnop fmax-CBCR "CBCR" (all-fmax-isas SEM-ONLY) h-ccr 1) 175*883529b6Schristos(dnop fmax-CERR "CERR" (all-fmax-isas SEM-ONLY) h-ccr 15) 176*883529b6Schristos 177*883529b6Schristos;------------------------------------------------------------------------------ 178*883529b6Schristos; Core General Registers 179*883529b6Schristos(dnop fmax-Rm "Rm" (all-fmax-isas) h-gpr f-fmax-rm) 180*883529b6Schristos 181*883529b6Schristos;------------------------------------------------------------------------------ 182*883529b6Schristos; misc 183*883529b6Schristos(dnop fmax-Compare-i-p "flag" (all-fmax-isas SEM-ONLY) h-fmax-compare-i-p f-nil) 184*883529b6Schristos 185*883529b6Schristos;****************************************************************************** 186*883529b6Schristos; Instructions 187*883529b6Schristos;------------------------------------------------------------------------------ 188*883529b6Schristos; Binary Arithmetic 189*883529b6Schristos(define-pmacro (fmax-binary-arith op opc sem) 190*883529b6Schristos (dni op 191*883529b6Schristos (.str op " FRd,FRn,FRm") 192*883529b6Schristos (all-fmax-isas MAY_TRAP) 193*883529b6Schristos (.str op " ${fmax-FRd},${fmax-FRn},${fmax-FRm}") 194*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-FRd (f-fmax-8-4 opc) (f-fmax-12-4 #x7) (f-fmax-16-4 0) 195*883529b6Schristos fmax-FRn fmax-FRm (f-fmax-31-1 0)) 196*883529b6Schristos sem 197*883529b6Schristos () 198*883529b6Schristos ) 199*883529b6Schristos) 200*883529b6Schristos 201*883529b6Schristos(fmax-binary-arith fadds #x0 (set fmax-FRd (add fmax-FRn fmax-FRm))) 202*883529b6Schristos(fmax-binary-arith fsubs #x1 (set fmax-FRd (sub fmax-FRn fmax-FRm))) 203*883529b6Schristos(fmax-binary-arith fmuls #x2 (set fmax-FRd (mul fmax-FRn fmax-FRm))) 204*883529b6Schristos(fmax-binary-arith fdivs #x3 (set fmax-FRd (div fmax-FRn fmax-FRm))) 205*883529b6Schristos 206*883529b6Schristos;------------------------------------------------------------------------------ 207*883529b6Schristos; Unary Arithmetic 208*883529b6Schristos(define-pmacro (fmax-unary-arith op opc sem) 209*883529b6Schristos (dni op 210*883529b6Schristos (.str op " FRd,FRn") 211*883529b6Schristos (all-fmax-isas MAY_TRAP) 212*883529b6Schristos (.str op " ${fmax-FRd},${fmax-FRn}") 213*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-FRd (f-fmax-8-4 opc) (f-fmax-12-4 #x7) 214*883529b6Schristos (f-fmax-16-4 0) fmax-FRn (f-fmax-24-4 0) (f-fmax-30-1 0) (f-fmax-31-1 0)) 215*883529b6Schristos sem 216*883529b6Schristos () 217*883529b6Schristos ) 218*883529b6Schristos) 219*883529b6Schristos 220*883529b6Schristos(fmax-unary-arith fsqrts #x4 (set fmax-FRd (sqrt fmax-FRn))) 221*883529b6Schristos(fmax-unary-arith fabss #x5 (set fmax-FRd (abs fmax-FRn))) 222*883529b6Schristos(fmax-unary-arith fnegs #x7 (set fmax-FRd (neg fmax-FRn))) 223*883529b6Schristos(fmax-unary-arith fmovs #x6 (set fmax-FRd fmax-FRn)) 224*883529b6Schristos 225*883529b6Schristos;------------------------------------------------------------------------------ 226*883529b6Schristos; Conversions 227*883529b6Schristos(define-pmacro (fmax-conv op opc1 opc2 opnd1 opnd2 sem) 228*883529b6Schristos (dni op 229*883529b6Schristos (.str op " FRd,FRn") 230*883529b6Schristos (all-fmax-isas MAY_TRAP) 231*883529b6Schristos (.str op " ${" opnd1 "},${" opnd2 "}") 232*883529b6Schristos (+ (f-fmax-0-4 #xF) opnd1 (f-fmax-8-4 opc1) (f-fmax-12-4 #x7) 233*883529b6Schristos (f-fmax-16-4 opc2) opnd2 (f-fmax-24-4 0) (f-fmax-30-1 0) (f-fmax-31-1 0)) 234*883529b6Schristos sem 235*883529b6Schristos () 236*883529b6Schristos ) 237*883529b6Schristos) 238*883529b6Schristos 239*883529b6Schristos(fmax-conv froundws #xC #x0 fmax-FRd-int fmax-FRn (set fmax-FRd-int (c-call SI "fmax_froundws" fmax-FRn))) 240*883529b6Schristos(fmax-conv ftruncws #xD #x0 fmax-FRd-int fmax-FRn (set fmax-FRd-int (c-call SI "fmax_ftruncws" fmax-FRn))) 241*883529b6Schristos(fmax-conv fceilws #xE #x0 fmax-FRd-int fmax-FRn (set fmax-FRd-int (c-call SI "fmax_fceilws" fmax-FRn))) 242*883529b6Schristos(fmax-conv ffloorws #xF #x0 fmax-FRd-int fmax-FRn (set fmax-FRd-int (c-call SI "fmax_ffloorws" fmax-FRn))) 243*883529b6Schristos(fmax-conv fcvtws #x4 #x1 fmax-FRd-int fmax-FRn (set fmax-FRd-int (c-call SI "fmax_fcvtws" fmax-FRn))) 244*883529b6Schristos(fmax-conv fcvtsw #x0 #x9 fmax-FRd fmax-FRn-int (set fmax-FRd (float SF FPCONV-DEFAULT fmax-FRn-int))) 245*883529b6Schristos 246*883529b6Schristos;------------------------------------------------------------------------------ 247*883529b6Schristos; Comparisons 248*883529b6Schristos; 249*883529b6Schristos; Comparison with no exceptions 250*883529b6Schristos(define-pmacro (fmax-f-sem x y) (andif (gt x y) (lt x y))) ; do this to get exception detection 251*883529b6Schristos(define-pmacro (fmax-u-sem x y) (not (orif (lt x y) (orif (eq x y) (gt x y))))) 252*883529b6Schristos(define-pmacro (fmax-e-sem x y) (eq x y)) 253*883529b6Schristos(define-pmacro (fmax-ue-sem x y) (not (orif (lt x y) (gt x y)))) 254*883529b6Schristos(define-pmacro (fmax-l-sem x y) (lt x y)) 255*883529b6Schristos(define-pmacro (fmax-ul-sem x y) (not (orif (gt x y) (eq x y)))) 256*883529b6Schristos(define-pmacro (fmax-le-sem x y) (orif (lt x y) (eq x y))) 257*883529b6Schristos(define-pmacro (fmax-ule-sem x y) (not (gt x y))) 258*883529b6Schristos 259*883529b6Schristos(define-pmacro (fmax-comp cond suffix exceptions) 260*883529b6Schristos (dni (.sym fcmp cond suffix s) 261*883529b6Schristos (.str "fcmp" cond suffix "s FRn,FRm") 262*883529b6Schristos ;; Even though the instruction doesn't really trap if EXCEPTIONS 263*883529b6Schristos ;; is zero, we don't want gcc to put it in a repeat or erepeat 264*883529b6Schristos ;; block because of the hazards between fcmp instructions and 265*883529b6Schristos ;; anything that reads CBCR. 266*883529b6Schristos (all-fmax-isas MAY_TRAP) 267*883529b6Schristos (.str "fcmp" cond suffix "s ${fmax-FRn},${fmax-FRm}") 268*883529b6Schristos (+ (f-fmax-0-4 #xF) (f-fmax-4-4 0) (.sym FMAX_ cond suffix) (f-fmax-12-4 #x7) 269*883529b6Schristos (f-fmax-16-4 #x2) (f-fmax-28-1 0) fmax-FRn fmax-FRm (f-fmax-31-1 0)) 270*883529b6Schristos (sequence () 271*883529b6Schristos (set fmax-Compare-i-p exceptions) 272*883529b6Schristos (set fmax-CBCR ((.sym fmax- cond -sem) fmax-FRn fmax-FRm)) 273*883529b6Schristos (set fmax-Compare-i-p 0) 274*883529b6Schristos ) 275*883529b6Schristos () 276*883529b6Schristos ) 277*883529b6Schristos) 278*883529b6Schristos 279*883529b6Schristos; Comparison with no exceptions 280*883529b6Schristos(fmax-comp f "" 0) 281*883529b6Schristos(fmax-comp u "" 0) 282*883529b6Schristos(fmax-comp e "" 0) 283*883529b6Schristos(fmax-comp ue "" 0) 284*883529b6Schristos(fmax-comp l "" 0) 285*883529b6Schristos(fmax-comp ul "" 0) 286*883529b6Schristos(fmax-comp le "" 0) 287*883529b6Schristos(fmax-comp ule "" 0) 288*883529b6Schristos 289*883529b6Schristos; Comparison with exceptions 290*883529b6Schristos(fmax-comp f i 1) 291*883529b6Schristos(fmax-comp u i 1) 292*883529b6Schristos(fmax-comp e i 1) 293*883529b6Schristos(fmax-comp ue i 1) 294*883529b6Schristos(fmax-comp l i 1) 295*883529b6Schristos(fmax-comp ul i 1) 296*883529b6Schristos(fmax-comp le i 1) 297*883529b6Schristos(fmax-comp ule i 1) 298*883529b6Schristos 299*883529b6Schristos;------------------------------------------------------------------------------ 300*883529b6Schristos; Move to/from core registers 301*883529b6Schristos(dni cmov-frn-rm 302*883529b6Schristos "cmov FRn,Rm" 303*883529b6Schristos (all-fmax-isas (INTRINSIC "cmov1")) 304*883529b6Schristos "cmov ${fmax-FRd-int},${fmax-Rm}" 305*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-FRd-int fmax-Rm (f-fmax-12-4 #x7) 306*883529b6Schristos (f-fmax-16-4 #xF) (f-fmax-20-4 0) (f-fmax-24-4 0) 307*883529b6Schristos (f-fmax-29-1 0) (f-fmax-30-1 0) (f-fmax-31-1 0)) 308*883529b6Schristos (set fmax-FRd-int fmax-Rm) 309*883529b6Schristos () 310*883529b6Schristos) 311*883529b6Schristos(dni cmov-rm-frn 312*883529b6Schristos "cmov Rm,FRn" 313*883529b6Schristos (all-fmax-isas (INTRINSIC "cmov2")) 314*883529b6Schristos "cmov ${fmax-Rm},${fmax-FRd-int}" 315*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-FRd-int fmax-Rm (f-fmax-12-4 #x7) 316*883529b6Schristos (f-fmax-16-4 #xF) (f-fmax-20-4 0) (f-fmax-24-4 0) 317*883529b6Schristos (f-fmax-29-1 0) (f-fmax-30-1 0) (f-fmax-31-1 1)) 318*883529b6Schristos (set fmax-Rm fmax-FRd-int) 319*883529b6Schristos () 320*883529b6Schristos) 321*883529b6Schristos(dni cmovc-ccrn-rm 322*883529b6Schristos "cmovc CCRn,Rm" 323*883529b6Schristos (all-fmax-isas (INTRINSIC "cmovc1")) 324*883529b6Schristos "cmovc ${fmax-CCRn},${fmax-Rm}" 325*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-CCRn fmax-Rm (f-fmax-12-4 #x7) 326*883529b6Schristos (f-fmax-16-4 #xF) (f-fmax-20-4 0) (f-fmax-24-4 0) 327*883529b6Schristos (f-fmax-28-1 0) (f-fmax-29-1 0) (f-fmax-30-1 1) (f-fmax-31-1 0)) 328*883529b6Schristos (set fmax-CCRn fmax-Rm) 329*883529b6Schristos () 330*883529b6Schristos) 331*883529b6Schristos(dni cmovc-rm-ccrn 332*883529b6Schristos "cmovc Rm,CCRn" 333*883529b6Schristos (all-fmax-isas (INTRINSIC "cmovc2")) 334*883529b6Schristos "cmovc ${fmax-Rm},${fmax-CCRn}" 335*883529b6Schristos (+ (f-fmax-0-4 #xF) fmax-CCRn fmax-Rm (f-fmax-12-4 #x7) 336*883529b6Schristos (f-fmax-16-4 #xF) (f-fmax-20-4 0) (f-fmax-24-4 0) 337*883529b6Schristos (f-fmax-28-1 0) (f-fmax-29-1 0) (f-fmax-30-1 1) (f-fmax-31-1 1)) 338*883529b6Schristos (set fmax-Rm fmax-CCRn) 339*883529b6Schristos () 340*883529b6Schristos) 341