Home
last modified time | relevance | path

Searched refs:pmacro (Results 1 – 25 of 29) sorted by relevance

12

/toolchain/binutils/binutils-2.25/cpu/
Dsimplify.inc30 (define-pmacro (define-normal-enum name comment attrs prefix vals)
37 (define-pmacro (define-normal-insn-enum name comment attrs prefix fld vals)
46 (define-pmacro (define-normal-ifield name comment attrs start length)
53 (define-pmacro (df name comment attrs start length mode encode decode)
57 (define-pmacro dnf
64 (define-pmacro (define-normal-multi-ifield name comment attrs
72 (define-pmacro dnmf
80 (define-pmacro (dsmf name comment attrs subflds)
91 (define-pmacro (define-normal-hardware name comment attrs type
100 (define-pmacro dnh
[all …]
Dcris.cpu26 ;;;;;;;;;;;;;;;;;; -pmacro (generic ones)
28 (define-pmacro (.car2 l) (.apply (.pmacro (a b) a) l))
29 (define-pmacro (.cadr2 l) (.apply (.pmacro (a b) b) l))
30 (define-pmacro (SI-ext x) "How to sign-extend a dword to dword (a nop)" x)
31 (define-pmacro (HI-ext x) "How to sign-extend a word to dword" (ext SI x))
32 (define-pmacro (QI-ext x) "How to sign-extend a byte to dword" (ext SI x))
33 (define-pmacro (SI-zext x) "How to zero-extend a dword to dword (a nop)" x)
34 (define-pmacro (HI-zext x) "How to zero-extend a word to dword" (zext SI x))
35 (define-pmacro (QI-zext x) "How to zero-extend a byte to dword" (zext SI x))
36 (define-pmacro
[all …]
Dor1kcommon.cpu31 (define-pmacro REG-INDICES
96 (define-pmacro spr-shift 11)
97 (define-pmacro (spr-address spr-group spr-index)
133 (define-pmacro (raise-exception exnum)
156 (define-pmacro (spr-reg-info)
172 … (.map (.pmacro (n) (.splice SYS (.sym "EPCR" n) (.add n #x20) (.str "Exception PC register " n)))
175 …(.map (.pmacro (n) (.splice SYS (.sym "EEAR" n) (.add n #x30) (.str "Exception effective address r…
178 …(.map (.pmacro (n) (.splice SYS (.sym "ESR" n) (.add n #x40) (.str "Exception supervision register…
181 …(.map (.pmacro (n) (.splice SYS (.sym "GPR" n) (.add n #x400) (.str "General purpose register " n)…
195 (.map (.pmacro (args)
[all …]
Dor1k.cpu45 (define-pmacro OR32-MACHS or32,or32nd)
46 (define-pmacro OR64-MACHS or64,or64nd)
47 (define-pmacro ORBIS-MACHS or32,or32nd,or64,or64nd)
48 (define-pmacro ORFPX-MACHS or32,or32nd,or64,or64nd)
49 (define-pmacro ORFPX32-MACHS or32,or32nd,or64,or64nd)
50 (define-pmacro ORFPX64-MACHS or64,or64nd)
Dfrv.cpu2090 (define-pmacro (dann xname xcomment xmode xparse xprint)
2840 (define-pmacro (spr-pcsr) (reg h-spr 1))
2841 (define-pmacro (spr-bpcsr) (reg h-spr 2))
2842 (define-pmacro (spr-lr) (reg h-spr 272))
2843 (define-pmacro (spr-lcr) (reg h-spr 273))
2844 (define-pmacro (spr-iacc0h) (reg h-spr 280))
2845 (define-pmacro (spr-iacc0l) (reg h-spr 281))
2846 (define-pmacro (spr-sr0) (reg h-spr 768))
2847 (define-pmacro (spr-sr1) (reg h-spr 769))
2848 (define-pmacro (spr-sr2) (reg h-spr 770))
[all …]
Dmep-fmax.cpu29 (define-pmacro fmax-core-isa () (ISA ext_core2))
30 (define-pmacro all-fmax-isas () (ISA ext_core2))
106 (define-pmacro (-fmax-fr-reg-pair n) ((.sym "fr" n) n))
107 (define-pmacro (-fmax-cr-reg-pair n) ((.sym "c" n) n))
189 (define-pmacro (fmax-binary-arith op opc sem)
208 (define-pmacro (fmax-unary-arith op opc sem)
227 (define-pmacro (fmax-conv op opc1 opc2 opnd1 opnd2 sem)
250 (define-pmacro (fmax-f-sem x y) (andif (gt x y) (lt x y))) ; do this to get exception detection
251 (define-pmacro (fmax-u-sem x y) (not (orif (lt x y) (orif (eq x y) (gt x y)))))
252 (define-pmacro (fmax-e-sem x y) (eq x y))
[all …]
Depiphany.cpu249 (define-pmacro (x-reg-field reg)
404 (define-pmacro (psw-h-bit name cmt)
480 (define-pmacro (psw-bit name hname cmt)
849 ; (define-pmacro (hcr-config) (reg h-core-registers 0)) etc.
851 (.pmacro (xname xnum)
852 (define-pmacro ((.sym hcr- xname)) (reg h-core-registers xnum)))
936 (define-pmacro (short-regs nm group hw cmt)
947 (define-pmacro (short-regs-core nm group hw cmt)
993 (define-pmacro (dimmop nm cmt hwtype idx)
1005 (define-pmacro (duimmop nm cmt hwtype idx)
[all …]
Dsh.cpu119 (define-pmacro (-build-greg-name n) ((.sym r n) n))
149 (define-pmacro (-build-creg-name n) ((.sym cr n) n))
235 (define-pmacro (-build-freg-name n) ((.sym fr n) n))
246 (define-pmacro (-build-fpair-name n) ((.sym fp n) n))
256 (define-pmacro (-build-fvec-name n) ((.sym fv n) n))
280 (define-pmacro (-build-dreg-name n) ((.sym dr n) n))
335 ; A pmacro for use in semantic bodies of unimplemented insns.
336 (define-pmacro (unimp mnemonic) (nop))
339 (define-pmacro (-join-si s1 s0)
344 (define-pmacro (-join-hi h3 h2 h1 h0)
[all …]
Dm32c.cpu152 (define-pmacro all-isas () (ISA m16c,m32c))
153 (define-pmacro m16c-isa () (ISA m16c))
154 (define-pmacro m32c-isa () (ISA m32c))
156 (define-pmacro MACH16 (MACH m16c))
157 (define-pmacro MACH32 (MACH m32c))
159 (define-pmacro (machine size)
162 (define-pmacro RL_JUMP (RL_TYPE JUMP))
163 (define-pmacro RL_1ADDR (RL_TYPE 1ADDR))
164 (define-pmacro RL_2ADDR (RL_TYPE 2ADDR))
2172 (define-pmacro (cond-operand mach offset)
[all …]
Dxc16x.cpu533 (define-pmacro (dowh x-name x-comment x-attrs x-type x-index x-handlers)
665 (define-pmacro (arithmetic16 name insn insn1 opc1 opc2 op1 op2 mode dir)
685 (define-pmacro (arithmetic17 name insn insn1 opc1 opc2 op1 op2 mode dir)
705 (define-pmacro (arithmetic18 name insn insn1 opc1 opc2 op1 op2 mode dir)
721 (define-pmacro (arithmetic19 name insn insn1 opc1 opc2 op1 op2 mode dir)
737 (define-pmacro (arithmetic20 name insn insn1 opc1 opc2 op1 op2 mode dir)
753 (define-pmacro (arithmetic21 name insn insn1 opc1 opc2 op1 op2 mode dir)
773 (define-pmacro (arithmetic22 name insn insn1 opc1 opc2 op1 op2 mode dir)
789 (define-pmacro (arithmetic23 name insn insn1 opc1 opc2 op1 op2 mode dir)
805 (define-pmacro (arithmetic24 name insn insn1 opc1 opc2 op1 op2 mode dir)
[all …]
Dor1korbis.cpu354 (define-pmacro (cti-link-return)
357 (define-pmacro (cti-transfer-control condition target)
374 (define-pmacro
401 (.pmacro ()
412 (.pmacro ()
426 (.pmacro ()
437 (.pmacro ()
451 (.pmacro ()
462 (.pmacro ()
588 (define-pmacro (load-store-addr base offset size)
[all …]
Dsh64-media.cpu28 (define-pmacro (dshmf xname xcomment ignored xstart xlength)
33 (define-pmacro (dshmop xname xcomment ignored xhardware xfield)
38 (define-pmacro (dshmi xname xcomment xattrs xsyntax xformat xsemantics)
53 (define-pmacro (saturate mode n i)
62 (define-pmacro (usaturate mode n i)
311 (define-pmacro (-byterev-step)
849 (define-pmacro (slice-byte expr)
863 (define-pmacro (slice-word expr)
871 (define-pmacro (slice-word-unop expr)
879 (define-pmacro (slice-long expr)
[all …]
Dmt.cpu355 (define-pmacro (define-reg-use-attr regfield)
381 ;(define-pmacro (build-reg-name n) (.splice (.str "$" n) n))
557 (define-pmacro r0 (reg h-spr #x0))
558 (define-pmacro r1 (reg h-spr #x01))
559 (define-pmacro r2 (reg h-spr #x02))
560 (define-pmacro r3 (reg h-spr #x03))
561 (define-pmacro r4 (reg h-spr #x04))
562 (define-pmacro r5 (reg h-spr #x05))
563 (define-pmacro r6 (reg h-spr #x06))
564 (define-pmacro r7 (reg h-spr #x07))
[all …]
Dfr30.cpu544 (define-pmacro (set-z-and-n x)
552 (define-pmacro (binary-int-op name insn comment opc1 opc2 op arg1 arg2)
569 (define-pmacro (binary-int-op-n name insn comment opc1 opc2 op arg1 arg2)
582 (define-pmacro (binary-int-op-c name insn comment opc1 opc2 op arg1 arg2)
612 (define-pmacro (int-cmp name insn comment opc1 opc2 arg1 arg2)
634 (define-pmacro (binary-logical-op name insn comment opc1 opc2 op arg1 arg2)
651 (define-pmacro (les-units model) ; les: load-exec-store
657 (define-pmacro (binary-logical-op-m name insn comment opc1 opc2 mode op arg1 arg2)
727 (define-pmacro (binary-or-op-mh name insn opc1 opc2 op arg1 arg2)
917 (define-pmacro (leftshift-op name insn opc1 opc2 arg1 arg2 shift-expr)
[all …]
Dmep-core.cpu25 (define-pmacro isa-enum ()
90 (define-pmacro all-mep-isas () (ISA mep,ext_core1,ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))
92 (define-pmacro all-mep-core-isas () (ISA mep,ext_core1,ext_cop1_32))
94 (define-pmacro all-core-isa-list () mep,ext_core1)
270 (define-pmacro (-reg-pair n) ((.sym n) n))
300 (define-pmacro (-ccr-reg-pair n) ((.sym "$ccr" n) n))
390 (define-pmacro (dnfb n)
513 (define-pmacro (compute-cdisp10 val)
521 (define-pmacro (extend-cdisp10 val)
672 (define-pmacro (dpop name commment attrib hwr field func)
[all …]
Dor1korfpx.cpu69 (define-pmacro (float-regreg-insn mnemonic)
112 (define-pmacro (get-rounding-mode)
156 (define-pmacro (float-setflag-insn mnemonic)
201 (define-pmacro (float-cust-insn cust-num)
Dmep-rhcop.cpu27 (define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64))
171 (define-pmacro (dncp116i xname xcomment xattrs xsyntax xformat xsemantics xtiming) (dni-isa xname …
172 (define-pmacro (dncp132i xname xcomment xattrs xsyntax xformat xsemantics xtiming) (dni-isa xname …
173 (define-pmacro (dncp148i xname xcomment xattrs xsyntax xformat xsemantics xtiming) (dni-isa xname …
174 (define-pmacro (dncp164i xname xcomment xattrs xsyntax xformat xsemantics xtiming) (dni-isa xname …
Dip2k.cpu194 ; (define-pmacro (build-reg-name n) (.splice (.str "$" n) n))
302 (define-pmacro w (reg h-spr #x0A))
303 (define-pmacro mulh (reg h-spr #x0F))
304 (define-pmacro dph (reg h-spr #x0C))
305 (define-pmacro dpl (reg h-spr #x0D))
306 (define-pmacro sph (reg h-spr #x06))
307 (define-pmacro spl (reg h-spr #x07))
308 (define-pmacro iph (reg h-spr #x04))
309 (define-pmacro ipl (reg h-spr #x05))
310 (define-pmacro addrh (reg h-spr #x10))
[all …]
Dxstormy16.cpu152 (define-pmacro (define-psw-field fnam hnam index)
427 (define-pmacro (basic-psw value ws)
435 (define-pmacro (set-psw Rd index value ws)
444 (define-pmacro (set-psw-nowrite index value ws)
452 (define-pmacro (set-mem-psw dest value ws)
460 (define-pmacro (set-psw-carry Rd index value carry ws)
472 (define-pmacro (set-psw-add Rd index a b c)
488 (define-pmacro (set-psw-cmp Rd index a b)
502 (define-pmacro (set-psw-sub Rd index a b c)
517 (define-pmacro (set-psw-rotate17 Rd index src c rot)
[all …]
Dmep.opc725 macro *pmacro = NULL;
736 pmacro = lookup_macro (in + 1);
737 if (pmacro)
742 in += 1 + strlen (pmacro->name);
747 pmacro = NULL;
773 if (pmacro)
776 expansion = expand_macro (args, narg, pmacro);
788 pmacro = NULL;
Dsh64-compact.cpu27 (define-pmacro (dshcf xname xcomment ignored xstart xlength)
32 (define-pmacro (dshcop xname xcomment ignored xhardware xfield)
79 (define-pmacro (front) (mul 16 frbit))
80 (define-pmacro (back) (mul 16 (not frbit)))
315 (define-pmacro (dshci xname xcomment xattrs xsyntax xformat xsemantics)
324 (define-pmacro (dr operand) (reg h-dr (index-of operand)))
325 (define-pmacro (xd x) (reg h-xd (and (index-of x) (inv QI 1))))
726 (define-pmacro (even x) (eq (and x 1) 0))
727 (define-pmacro (odd x) (eq (and x 1) 1))
728 (define-pmacro (extd x) (odd (index-of x)))
Diq2000.cpu93 (define-pmacro MACH2000 (MACH iq2000))
94 (define-pmacro MACH10 (MACH iq10))
346 (define-pmacro (define-reg-use-attr regfield)
439 ; A pmacro for use in semantic bodies of unimplemented insns.
440 (define-pmacro (unimp mnemonic) (nop))
442 (define-pmacro (bitset? value bit-num)
445 (define-pmacro (bitclear? value bit-num)
Dmep-sample-ucidsp.cpu30 (define-pmacro mep-ext1-isa () (ISA ext_core1))
Dm32r.cpu644 (define-pmacro (duhpo x-name x-comment x-attrs x-type x-index)
651 (define-pmacro (dshpo x-name x-comment x-attrs x-type x-index)
816 (define-pmacro (bin-op mnemonic op2-op sem-op imm-prefix imm)
925 (define-pmacro (cbranch sym comment op2-op comp-op)
1352 (define-pmacro (no-ext-expr mode expr) expr)
1353 (define-pmacro (ext-expr mode expr) (ext mode expr))
1354 (define-pmacro (zext-expr mode expr) (zext mode expr))
1356 (define-pmacro (load-op suffix op2-op mode ext-op)
2019 (define-pmacro (shift-op sym op2-r-op op2-3-op op2-i-op sem-op)
2045 (define-pmacro (store-op suffix op2-op mode)
/toolchain/binutils/binutils-2.25/opcodes/
Dmep-asm.c680 macro *pmacro = NULL; in expand_string() local
691 pmacro = lookup_macro (in + 1); in expand_string()
692 if (pmacro) in expand_string()
697 in += 1 + strlen (pmacro->name); in expand_string()
702 pmacro = NULL; in expand_string()
728 if (pmacro) in expand_string()
731 expansion = expand_macro (args, narg, pmacro); in expand_string()
743 pmacro = NULL; in expand_string()

12