xref: /netbsd-src/external/gpl3/gdb/dist/cpu/mep-rhcop.cpu (revision a2e2270fc5bff6bcbd2c81db532c53a470bd1be5)
1*a2e2270fSchristos; Copyright 2011 Free Software Foundation, Inc.
2*a2e2270fSchristos;
3*a2e2270fSchristos; Contributed by Red Hat Inc;
4*a2e2270fSchristos;
5*a2e2270fSchristos; This file is part of the GNU Binutils.
6*a2e2270fSchristos;
7*a2e2270fSchristos; This program is free software; you can redistribute it and/or modify
8*a2e2270fSchristos; it under the terms of the GNU General Public License as published by
9*a2e2270fSchristos; the Free Software Foundation; either version 3 of the License, or
10*a2e2270fSchristos; (at your option) any later version.
11*a2e2270fSchristos;
12*a2e2270fSchristos; This program is distributed in the hope that it will be useful,
13*a2e2270fSchristos; but WITHOUT ANY WARRANTY; without even the implied warranty of
14*a2e2270fSchristos; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*a2e2270fSchristos; GNU General Public License for more details.
16*a2e2270fSchristos;
17*a2e2270fSchristos; You should have received a copy of the GNU General Public License
18*a2e2270fSchristos; along with this program; if not, write to the Free Software
19*a2e2270fSchristos; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20*a2e2270fSchristos; MA 02110-1301, USA.
21*a2e2270fSchristos
22*a2e2270fSchristos;; This coprocessor definition is being used to verify vliw mode behaviour.
23*a2e2270fSchristos;; This is a mock-up done by Red Hat and is in no way supposed to represent
24*a2e2270fSchristos;; a real coprocessor.  The hardware is defined in mep-core.cpu.
25*a2e2270fSchristos
26*a2e2270fSchristos; Coprocessor registers
27*a2e2270fSchristos(define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))
28*a2e2270fSchristos
29*a2e2270fSchristos(define-hardware
30*a2e2270fSchristos  (name h-cr64-rh-1)
31*a2e2270fSchristos  (comment "64-bit coprocessor registers for rh coprocessor for core 1")
32*a2e2270fSchristos  (attrs VIRTUAL rh-isa-1)
33*a2e2270fSchristos  (type register DI (32))
34*a2e2270fSchristos  (set (index newval) (c-call VOID "h_cr64_set" index newval))
35*a2e2270fSchristos  (get (index) (c-call DI "h_cr64_get" index))
36*a2e2270fSchristos  (indices keyword "$c" (.map -reg-pair (.iota 32)))
37*a2e2270fSchristos)
38*a2e2270fSchristos
39*a2e2270fSchristos(define-hardware
40*a2e2270fSchristos  (name h-cr-rh-1)
41*a2e2270fSchristos  (comment "32-bit coprocessor registers for rh coprocessor for core 1")
42*a2e2270fSchristos  (attrs VIRTUAL rh-isa-1)
43*a2e2270fSchristos  (type register SI (32))
44*a2e2270fSchristos  (set (index newval) (c-call VOID "h_cr64_set" index (ext DI newval)))
45*a2e2270fSchristos  (get (index) (trunc SI (c-call DI "h_cr64_get" index)))
46*a2e2270fSchristos  (indices keyword "$c" (.map -reg-pair (.iota 32)))
47*a2e2270fSchristos)
48*a2e2270fSchristos
49*a2e2270fSchristos(define-hardware
50*a2e2270fSchristos  (name h-ccr-rh-1)
51*a2e2270fSchristos  (comment "Coprocessor control registers for rh coprocessor for core 1")
52*a2e2270fSchristos  (attrs VIRTUAL rh-isa-1)
53*a2e2270fSchristos  (type register SI (64))
54*a2e2270fSchristos  (set (index newval) (c-call VOID "h_ccr_set" index newval))
55*a2e2270fSchristos  (get (index) (c-call DI "h_ccr_get" index))
56*a2e2270fSchristos  (indices keyword "" (.map -ccr-reg-pair (.iota 64)))
57*a2e2270fSchristos)
58*a2e2270fSchristos
59*a2e2270fSchristos; ifields For 16-bit insns
60*a2e2270fSchristos(dnf f-cphigh4 "High 4 bits" 		((ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))   0  4)
61*a2e2270fSchristos(dnf f-cpcrn   "Copro Reg"  		((ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))   4  5)
62*a2e2270fSchristos(dnf f-cpcrm   "Copro Reg"  		((ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))  11  5)
63*a2e2270fSchristos(dnf f-uu2   "UU for 16-bit insns"      ((ISA ext_cop1_16))   9  2)
64*a2e2270fSchristos(dnf f-uu3   "UU for 16-bit insns"      ((ISA ext_cop1_16))   9  3)
65*a2e2270fSchristos(dnf f-cprm   "Core GPR"                ((ISA ext_cop1_16))  12  4)
66*a2e2270fSchristos
67*a2e2270fSchristos; ifields For 32-bit insns (some of the above are used too)
68*a2e2270fSchristos; Notes:
69*a2e2270fSchristos;
70*a2e2270fSchristos;  f-alone: A value of 0111 means that the insn can run alone in
71*a2e2270fSchristos;           one of the vliw modes.
72*a2e2270fSchristos;
73*a2e2270fSchristos;  f-seg32:   Together f-seg32 and f-seg32-a allow 64 different 32-bit
74*a2e2270fSchristos;  f-seg32-a: insns to be defined.
75*a2e2270fSchristos(dnf f-seg32 "Enumerate 32 bit-insns"     ((ISA ext_cop1_32))   9  3)
76*a2e2270fSchristos(dnf f-alone "Run-alone indicator"        ((ISA ext_cop1_16,ext_cop1_32,ext_cop1_64))  12  4)
77*a2e2270fSchristos(dnf f-seg32-a "Enumerate 32 bit-insns"   ((ISA ext_cop1_32))  21  3)
78*a2e2270fSchristos(dnf f-code8 "8 bit unsigned immediate"   ((ISA ext_cop1_32))  24 8)
79*a2e2270fSchristos(dnf f-cpcrm-32 "Corpocessor Reg"         ((ISA ext_cop1_32))  16  5)
80*a2e2270fSchristos
81*a2e2270fSchristos; ifields for 48-bit insns
82*a2e2270fSchristos; Note: Part of f-uu12 can be broken off later to enumerate
83*a2e2270fSchristos;       any 48-bit insns that may be added.
84*a2e2270fSchristos(dnf f-uu12 "Unusued 12 bits"            ((ISA ext_cop1_48))   4 12)
85*a2e2270fSchristos(dnf f-code16a "Unsigned immediate"      ((ISA ext_cop1_48))  16 16)
86*a2e2270fSchristos(dnf f-code16b "Unsigned immediate"      ((ISA ext_cop1_48,ext_cop1_64))  32 16)
87*a2e2270fSchristos
88*a2e2270fSchristos; ifields for 64-bit insns
89*a2e2270fSchristos(dnf f-uu8 "Unsused 8 bits"               ((ISA ext_cop1_64))   4  8)
90*a2e2270fSchristos(dnf f-uu8a "Unused 13 bits"              ((ISA ext_cop1_64))  16  8)
91*a2e2270fSchristos(dnf f-seg64 "Enumerate 64-bit insns"     ((ISA ext_cop1_64))  24  8)
92*a2e2270fSchristos(dnf f-code16c "Unsigned immediate"       ((ISA ext_cop1_64))  48 16)
93*a2e2270fSchristos(dnf f-cpcrn-64 "Coprocessor Register"    ((ISA ext_cop1_64))  32  5)
94*a2e2270fSchristos(dnf f-cpcrm-64 "Coprocessor Register"    ((ISA ext_cop1_64))  37  4)
95*a2e2270fSchristos(dnf f-code23 "23 Bit Unisgned Immediate" ((ISA ext_cop1_64))  41 23)
96*a2e2270fSchristos(dnf f-cpccrn-64 "Coprocessor Register"   ((ISA ext_cop1_64))  32  4)
97*a2e2270fSchristos(dnf f-cpccrm-64 "Core GPR"               ((ISA ext_cop1_64))  36  4)
98*a2e2270fSchristos(dnf f-code24 "24 Bit Unisgned Immediate" ((ISA ext_cop1_64))  40 24)
99*a2e2270fSchristos
100*a2e2270fSchristos
101*a2e2270fSchristos; Operands for 16-bit insns
102*a2e2270fSchristos(dnop cpcrn   "cpcrn"  ((ISA ext_cop1_16,ext_cop1_32)) h-cr64-rh-1 f-cpcrn)
103*a2e2270fSchristos(dnop cpcrm   "cpcrm"  ((ISA ext_cop1_16,ext_cop1_32)) h-cr64-rh-1 f-cpcrm)
104*a2e2270fSchristos(dnop cprm    "cprm"   ((ISA ext_cop1_16)) h-gpr f-cprm)
105*a2e2270fSchristos
106*a2e2270fSchristos; Additional operands for 32-bit insns
107*a2e2270fSchristos(dnop code8 "imm8" ((ISA ext_cop1_32)) h-uint f-code8)
108*a2e2270fSchristos
109*a2e2270fSchristos; Operands for 48-bit insns
110*a2e2270fSchristos(dnop code16a "code16a" ((ISA ext_cop1_48)) h-uint f-code16a)
111*a2e2270fSchristos(dnop code16b "code16b" ((ISA ext_cop1_48,ext_cop1_64)) h-uint f-code16b)
112*a2e2270fSchristos
113*a2e2270fSchristos; Additional operands for 64-bit insns
114*a2e2270fSchristos(dnop code16c "code16c" ((ISA ext_cop1_64)) h-uint f-code16c)
115*a2e2270fSchristos(dnop cpcrn64 "cpcrn64" ((ISA ext_cop1_64)) h-cr64-rh-1 f-cpcrn-64)
116*a2e2270fSchristos(dnop cpcrm64 "crm64" ((ISA ext_cop1_64)) h-gpr f-cpcrm-64)
117*a2e2270fSchristos(dnop cpccrn64 "cpccrn64" ((ISA ext_cop1_64)) h-ccr-rh-1 f-cpccrn-64)
118*a2e2270fSchristos(dnop cpccrm64 "cpccrm64" ((ISA ext_cop1_64)) h-gpr f-cpccrm-64)
119*a2e2270fSchristos(dnop cpcode23 "cpcode23" ((ISA ext_cop1_64)) h-uint f-code23)
120*a2e2270fSchristos(dnop cpcode24 "cpcode24" ((ISA ext_cop1_64)) h-uint f-code24)
121*a2e2270fSchristos
122*a2e2270fSchristos
123*a2e2270fSchristos
124*a2e2270fSchristos; 16- and 32-bit nops can be defined as normal instructions without
125*a2e2270fSchristos; any problems.  nops take no operands, so nops longer than 32
126*a2e2270fSchristos; bits cannot be defined as normal insns since that would result in
127*a2e2270fSchristos; decodable bits beyond cgen's 32-bit boundary.  As a result, we
128*a2e2270fSchristos; have to use macros and other real insns to create 48- and 64-bit nops.
129*a2e2270fSchristos;
130*a2e2270fSchristos; In addition, since the names of the nops that will be created as part
131*a2e2270fSchristos; of future insn sets are not known at this time, the assembler needs a
132*a2e2270fSchristos; fixed set of nop names that it can use for automatic nop insertion.
133*a2e2270fSchristos; The idea is that no matter what those insns are called, we don't want
134*a2e2270fSchristos; to have to change the C code in the assemblers vliw grouping validation
135*a2e2270fSchristos; and nop insertion routines.  We therefore have to create macros for
136*a2e2270fSchristos; all nops to map the macro names which are known to the assembler to the
137*a2e2270fSchristos; names of the real nop insns.
138*a2e2270fSchristos;
139*a2e2270fSchristos; These emitted insns in these macros will need to be modified when
140*a2e2270fSchristos; new nops are defined in new coprocessor insn sets.
141*a2e2270fSchristos
142*a2e2270fSchristos; A real 16-bit nop insn exists
143*a2e2270fSchristos(dnmi cpnop16 "cpnop16"
144*a2e2270fSchristos      ((ISA ext_cop1_16))
145*a2e2270fSchristos      "cpnop16"
146*a2e2270fSchristos      (emit cp16nop)
147*a2e2270fSchristos)
148*a2e2270fSchristos
149*a2e2270fSchristos; A real 32-bit nop insn exists
150*a2e2270fSchristos(dnmi cpnop32 "cpnop32"
151*a2e2270fSchristos      ((ISA ext_cop1_32))
152*a2e2270fSchristos      "cpnop32"
153*a2e2270fSchristos      (emit cp32nop)
154*a2e2270fSchristos)
155*a2e2270fSchristos
156*a2e2270fSchristos; There is no 48-bit nop insn so we use a real "dummy" insn to enable the nop.
157*a2e2270fSchristos(dnmi cpnop48 "cpnop48"
158*a2e2270fSchristos      ((ISA ext_cop1_48))
159*a2e2270fSchristos      "cpnop48"
160*a2e2270fSchristos      (emit cpf1nop (code16a 0) (code16b 0))
161*a2e2270fSchristos)
162*a2e2270fSchristos
163*a2e2270fSchristos; There is no 64-bit nop insn so we use a real "dummy" insn to enable the nop.
164*a2e2270fSchristos(dnmi cpnop64 "cpnop64"
165*a2e2270fSchristos      ((ISA ext_cop1_64))
166*a2e2270fSchristos      "cpnop64"
167*a2e2270fSchristos      (emit cpf3nop (code16b 0) (code16c 0))
168*a2e2270fSchristos)
169*a2e2270fSchristos
170*a2e2270fSchristos
171*a2e2270fSchristos(define-pmacro (dncp116i xname xcomment xattrs xsyntax xformat xsemantics xtiming)  (dni-isa xname xcomment xattrs xsyntax xformat xsemantics xtiming ext_cop1_16))
172*a2e2270fSchristos(define-pmacro (dncp132i xname xcomment xattrs xsyntax xformat xsemantics xtiming)  (dni-isa xname xcomment xattrs xsyntax xformat xsemantics xtiming ext_cop1_32))
173*a2e2270fSchristos(define-pmacro (dncp148i xname xcomment xattrs xsyntax xformat xsemantics xtiming)  (dni-isa xname xcomment xattrs xsyntax xformat xsemantics xtiming ext_cop1_48))
174*a2e2270fSchristos(define-pmacro (dncp164i xname xcomment xattrs xsyntax xformat xsemantics xtiming)  (dni-isa xname xcomment xattrs xsyntax xformat xsemantics xtiming ext_cop1_64))
175*a2e2270fSchristos
176*a2e2270fSchristos; 16-Bit Insns
177*a2e2270fSchristos(dncp116i movcp16 "16-bit coprocessor move insn"
178*a2e2270fSchristos        (VLIW64_NO_MATCHING_NOP)
179*a2e2270fSchristos        "movcp16 $cpcrn,$cpcrm"
180*a2e2270fSchristos        (+ (f-cphigh4 1) cpcrn (f-uu2 0) cpcrm)
181*a2e2270fSchristos        (set cpcrn cpcrm)
182*a2e2270fSchristos        ()
183*a2e2270fSchristos)
184*a2e2270fSchristos
185*a2e2270fSchristos(dncp116i movcp16a "16-bit coprocessor move insn"
186*a2e2270fSchristos	(VLIW64_NO_MATCHING_NOP)
187*a2e2270fSchristos	"movcp16a $cpcrn,$cprm"
188*a2e2270fSchristos        (+ (f-cphigh4 2) cpcrn (f-uu3 0) cprm)
189*a2e2270fSchristos        (set cpcrn (zext DI cprm))
190*a2e2270fSchristos        ()
191*a2e2270fSchristos)
192*a2e2270fSchristos
193*a2e2270fSchristos(dncp116i movcp16b "16-bit coprocessor move insn"
194*a2e2270fSchristos	(VLIW64_NO_MATCHING_NOP)
195*a2e2270fSchristos	"movcp16b $cprm,$cpcrn"
196*a2e2270fSchristos        (+ (f-cphigh4 3) cpcrn (f-uu3 0) cprm)
197*a2e2270fSchristos	(set cprm (subword SI cpcrn 1))
198*a2e2270fSchristos        ()
199*a2e2270fSchristos)
200*a2e2270fSchristos
201*a2e2270fSchristos(dncp116i cp16nop "16-bit coprocessor nop"
202*a2e2270fSchristos	(VLIW64_NO_MATCHING_NOP)
203*a2e2270fSchristos	"cp16nop"
204*a2e2270fSchristos        (+ (f-cphigh4 0) (f-cpcrn 0) (f-uu2 0) (f-cpcrm 0))
205*a2e2270fSchristos	(unimp "cp16nop")
206*a2e2270fSchristos        ()
207*a2e2270fSchristos)
208*a2e2270fSchristos
209*a2e2270fSchristos; 32-Bit Insns
210*a2e2270fSchristos(dncp132i cp32nop "32-bit coprocessor nop"
211*a2e2270fSchristos	(VLIW64_NO_MATCHING_NOP)
212*a2e2270fSchristos	"cp32nop"
213*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-cpcrn 0) (f-seg32 0) (f-alone #x7)
214*a2e2270fSchristos           (f-cpcrm-32 0) (f-seg32-a 0) (f-code8 0))
215*a2e2270fSchristos	(unimp "cpnop32")
216*a2e2270fSchristos        ()
217*a2e2270fSchristos)
218*a2e2270fSchristos
219*a2e2270fSchristos(dncp132i cpf2 "General 32-bit insn for compatibility with toshiba's tests "
220*a2e2270fSchristos	(VLIW64_NO_MATCHING_NOP)
221*a2e2270fSchristos	"cpf2 $code8"
222*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-cpcrn 0) (f-seg32 0) (f-alone #x7)
223*a2e2270fSchristos           (f-cpcrm-32 0) (f-seg32-a 1) code8)
224*a2e2270fSchristos	(unimp "cpf2")
225*a2e2270fSchristos        ()
226*a2e2270fSchristos)
227*a2e2270fSchristos
228*a2e2270fSchristos; 48-Bit Insns
229*a2e2270fSchristos(dncp148i cpf1 "48-bit coprocessor helper insn"
230*a2e2270fSchristos	()
231*a2e2270fSchristos	"cpf1 $code16a,$code16b"
232*a2e2270fSchristos        (+ (f-cphigh4 4) (f-uu12 0) code16a code16b)
233*a2e2270fSchristos	(sequence ((HI result))
234*a2e2270fSchristos           (if (eq code16a 0)
235*a2e2270fSchristos               (set pc (c-call USI "cop_exception" pc))
236*a2e2270fSchristos               ; Set branch condition flags to value of code16a[0:3]
237*a2e2270fSchristos               ; Branch condition flags do not exist yet.
238*a2e2270fSchristos               (nop)
239*a2e2270fSchristos           )
240*a2e2270fSchristos        )
241*a2e2270fSchristos        ()
242*a2e2270fSchristos)
243*a2e2270fSchristos
244*a2e2270fSchristos(dncp148i cpf1nop "48-bit coprocessor nop insn"
245*a2e2270fSchristos	()
246*a2e2270fSchristos	"cpf1nop $code16a,$code16b"
247*a2e2270fSchristos        (+ (f-cphigh4 5) (f-uu12 0) code16a code16b)
248*a2e2270fSchristos	(sequence ((HI result))
249*a2e2270fSchristos           (set result (add code16a code16b))
250*a2e2270fSchristos        )
251*a2e2270fSchristos        ()
252*a2e2270fSchristos)
253*a2e2270fSchristos
254*a2e2270fSchristos; 64-Bit Insns
255*a2e2270fSchristos(dncp164i cpf3 "64-bit coprocessor helper insn"
256*a2e2270fSchristos	()
257*a2e2270fSchristos	"cpf3 $code16b,$code16c"
258*a2e2270fSchristos        (+ (f-cphigh4 #xf) (f-uu8 0) (f-alone 7) (f-uu8a 0)
259*a2e2270fSchristos           (f-seg64 0) code16b code16c)
260*a2e2270fSchristos	(sequence ((HI result))
261*a2e2270fSchristos           (set result (add code16b code16c))
262*a2e2270fSchristos        )
263*a2e2270fSchristos        ()
264*a2e2270fSchristos)
265*a2e2270fSchristos
266*a2e2270fSchristos(dncp164i cpf3nop "64-bit coprocessor helper insn"
267*a2e2270fSchristos	()
268*a2e2270fSchristos	"cpf3nop $code16b,$code16c"
269*a2e2270fSchristos        (+ (f-cphigh4 #xf) (f-uu8 0) (f-alone 7) (f-uu8a 0)
270*a2e2270fSchristos           (f-seg64 7) code16b code16c)
271*a2e2270fSchristos	(sequence ((HI result))
272*a2e2270fSchristos           (set result (add code16b code16c))
273*a2e2270fSchristos        )
274*a2e2270fSchristos        ()
275*a2e2270fSchristos)
276*a2e2270fSchristos
277*a2e2270fSchristos(dncp164i cmov64a "64-bit cmov"
278*a2e2270fSchristos	()
279*a2e2270fSchristos	"cmov64a $cpcrn64,$cpcrm64,$cpcode23"
280*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
281*a2e2270fSchristos           (f-seg64 1) cpcrn64 cpcrm64 cpcode23)
282*a2e2270fSchristos        (sequence ((SI dummy))
283*a2e2270fSchristos           (set dummy cpcode23)
284*a2e2270fSchristos           (set cpcrn64 (zext DI cpcrm64)))
285*a2e2270fSchristos        ()
286*a2e2270fSchristos)
287*a2e2270fSchristos
288*a2e2270fSchristos(dncp164i cmov64b "64-bit cmov"
289*a2e2270fSchristos	()
290*a2e2270fSchristos	"cmov64b $cpcrm64,$cpcrn64,$cpcode23"
291*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
292*a2e2270fSchristos           (f-seg64 2) cpcrn64 cpcrm64 cpcode23)
293*a2e2270fSchristos        (sequence ((SI dummy))
294*a2e2270fSchristos          (set dummy cpcode23)
295*a2e2270fSchristos          (set cpcrm64 (subword SI cpcrn64 1)))
296*a2e2270fSchristos        ()
297*a2e2270fSchristos)
298*a2e2270fSchristos
299*a2e2270fSchristos(dncp164i cmovh64a "64-bit cmovh"
300*a2e2270fSchristos	()
301*a2e2270fSchristos	"cmovh64a $cpcrn64,$cpcrm64,$cpcode23"
302*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
303*a2e2270fSchristos           (f-seg64 3) cpcrn64 cpcrm64 cpcode23)
304*a2e2270fSchristos        (sequence ((SI dummy))
305*a2e2270fSchristos           (set dummy cpcode23)
306*a2e2270fSchristos           (set cpcrn64 (or (sll (zext DI cpcrm64) 32) (zext DI (subword SI cpcrn64 1)))))
307*a2e2270fSchristos        ()
308*a2e2270fSchristos)
309*a2e2270fSchristos
310*a2e2270fSchristos(dncp164i cmovh64b "64-bit cmovh"
311*a2e2270fSchristos	()
312*a2e2270fSchristos	"cmovh64b $cpcrm64,$cpcrn64,$cpcode23"
313*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
314*a2e2270fSchristos           (f-seg64 4) cpcrn64 cpcrm64 cpcode23)
315*a2e2270fSchristos        (sequence ((SI dummy))
316*a2e2270fSchristos           (set dummy cpcode23)
317*a2e2270fSchristos           (set cpcrm64 (subword SI cpcrn64 0)))
318*a2e2270fSchristos        ()
319*a2e2270fSchristos)
320*a2e2270fSchristos
321*a2e2270fSchristos(dncp164i cmovc64a "64-bit cmovc"
322*a2e2270fSchristos	()
323*a2e2270fSchristos	"cmovc64a $cpccrn64,$cpccrm64,$cpcode24"
324*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
325*a2e2270fSchristos           (f-seg64 5) cpccrn64 cpccrm64 cpcode24)
326*a2e2270fSchristos        (sequence ((SI dummy))
327*a2e2270fSchristos           (set dummy cpcode24)
328*a2e2270fSchristos           (set cpccrn64 cpccrm64))
329*a2e2270fSchristos        ()
330*a2e2270fSchristos)
331*a2e2270fSchristos
332*a2e2270fSchristos(dncp164i cmovc64b "64-bit cmovc"
333*a2e2270fSchristos	()
334*a2e2270fSchristos	"cmovc64b $cpccrm64,$cpccrn64,$cpcode24"
335*a2e2270fSchristos        (+ (f-cphigh4 #xf ) (f-uu8 0) (f-alone 7) (f-uu8a 0)
336*a2e2270fSchristos           (f-seg64 6) cpccrn64 cpccrm64 cpcode24)
337*a2e2270fSchristos        (sequence ((SI dummy))
338*a2e2270fSchristos           (set dummy cpcode24)
339*a2e2270fSchristos           (set cpccrm64 cpccrn64))
340*a2e2270fSchristos        ()
341*a2e2270fSchristos)
342*a2e2270fSchristos
343