| /netbsd/src/sys/arch/hpcsh/include/ |
| D | bus_util.h | 7 #define __TYPENAME(BITS) u_int##BITS##_t argument 9 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \ argument 10 __TYPENAME(BITS) \ 12 __TYPENAME(BITS) \ 17 return *(volatile __TYPENAME(BITS) *)(bsh + offset); \ 20 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \ argument 23 __TYPENAME(BITS) *, bus_size_t); \ 26 bus_size_t offset, __TYPENAME(BITS) *addr, \ 29 volatile __TYPENAME(BITS) *p = (void *)(bsh + offset); \ 35 #define _BUS_SPACE_READ_REGION(PREFIX, BYTES, BITS) \ argument [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/sim/arm/ |
| D | iwmmxt.c | 89 reg = BITS (0, 3); \ 626 if (BITS (12, 15) != 15) in TANDC() 630 if (BITS (16, 19) != 3) in TANDC() 634 if (BITS (0, 3) != 0) in TANDC() 639 switch (BITS (22, 23)) in TANDC() 680 Rn = state->Reg [BITS (12, 15)]; in TBCST() 681 if (BITS (12, 15) == 15) in TBCST() 684 wRd = BITS (16, 19); in TBCST() 686 switch (BITS (6, 7)) in TBCST() 727 if (BITS (12, 15) != 15) in TEXTRC() [all …]
|
| D | armemu.c | 97 switch (BITS (5, 6)) \ 127 switch (BITS (5, 6)) \ 156 switch (BITS (5, 6)) \ 183 switch (BITS (5, 6)) \ 213 switch (BITS (5, 6)) \ 240 switch (BITS (5, 6)) \ 276 switch (BITS (20, 27)) in handle_v6_insn() 310 Rd = BITS (12, 15); in handle_v6_insn() 311 val = (BITS (16, 19) << 12) | BITS (0, 11); in handle_v6_insn() 324 Rd = BITS (12, 15); in handle_v6_insn() [all …]
|
| D | armcopro.c | 384 unsigned opcode_2 = BITS (5, 7); in XScale_cp15_MRC() 385 unsigned CRm = BITS (0, 3); in XScale_cp15_MRC() 386 unsigned reg = BITS (16, 19); in XScale_cp15_MRC() 389 result = check_cp15_access (state, reg, CRm, BITS (21, 23), opcode_2); in XScale_cp15_MRC() 403 unsigned opcode_2 = BITS (5, 7); in XScale_cp15_MCR() 404 unsigned CRm = BITS (0, 3); in XScale_cp15_MCR() 405 unsigned reg = BITS (16, 19); in XScale_cp15_MCR() 408 result = check_cp15_access (state, reg, CRm, BITS (21, 23), opcode_2); in XScale_cp15_MCR() 697 unsigned reg = BITS (12, 15); in XScale_cp13_LDC() 711 unsigned reg = BITS (12, 15); in XScale_cp13_STC() [all …]
|
| D | armsupp.c | 483 if (BITS (25, 27) != 0x6) in handle_VFP_xfer() 489 switch (BITS (20, 24)) in handle_VFP_xfer() 495 int vm = BITS (0, 3); in handle_VFP_xfer() 496 int rt1 = BITS (12, 15); in handle_VFP_xfer() 497 int rt2 = BITS (16, 19); in handle_VFP_xfer() 522 int n = BITS (16, 19); in handle_VFP_xfer() 523 int imm8 = BITS (0, 7); in handle_VFP_xfer() 531 int src = (BIT (22) << 4) | BITS (12, 15); in handle_VFP_xfer() 551 int src = (BITS (12, 15) << 1) | BIT (22); in handle_VFP_xfer() 568 ARMword imm32 = BITS (0, 7) << 2; in handle_VFP_xfer() [all …]
|
| D | armemu.h | 317 #define DESTReg (BITS (12, 15)) 318 #define LHSReg (BITS (16, 19)) 319 #define RHSReg (BITS ( 0, 3)) 333 #define MULDESTReg (BITS (16, 19)) 334 #define MULLHSReg (BITS ( 0, 3)) 335 #define MULRHSReg (BITS ( 8, 11)) 336 #define MULACCReg (BITS (12, 15)) 338 #define DPImmRHS (ARMul_ImmedTable[BITS(0, 11)]) 339 #define DPSImmRHS temp = BITS(0,11) ; \ 345 #define DPRegRHS ((BITS (4,11) == 0) ? state->Reg[RHSReg] \ [all …]
|
| D | maverick.c | 45 #define DEST_REG (BITS (12, 15)) 46 #define SRC1_REG (BITS (16, 19)) 47 #define SRC2_REG (BITS (0, 3)) 84 switch (BITS (5, 7)) in DSPMRC4() 205 switch (BITS (5, 7)) in DSPMRC5() 299 switch (BITS (5, 7)) in DSPMRC6() 340 switch (BITS (5, 7)) in DSPMCR4() 383 switch (BITS (5, 7)) in DSPMCR5() 434 switch (BITS (5, 7)) in DSPMCR6() 721 opcode2 = BITS (5,7); in DSPCDP4() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/ |
| D | primesieve.c | 100 #define SET_OFF1(m1, m2, M1, M2, off, BITS) \ argument 104 if (off <= BITS - GMP_LIMB_BITS) { \ 105 m2 = M1 << (BITS - GMP_LIMB_BITS - off) \ 108 m1 |= M1 << (BITS - off); \ 109 m2 = M1 >> (off + GMP_LIMB_BITS - BITS); \ 112 m1 = M1 << (BITS - off) \ 114 m2 = M2 << (BITS - off) \ 115 | M1 >> (off + GMP_LIMB_BITS - BITS); \ 121 #define SET_OFF2(m1, m2, m3, M1, M2, M3, off, BITS) \ argument 130 if (off <= BITS - 2 * GMP_LIMB_BITS) { \ [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/config/os/aix/ |
| D | t-aix | 2 BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \ 6 SUPOBJS=$(shell $(ARX) -X$(BITS) t ../ppc$(BITS)/$(PACKAGE)-v3/libsupc++/.libs/libsupc++.a) 7 FSOBJS=$(shell $(ARX) -X$(BITS) t ../ppc$(BITS)/$(PACKAGE)-v3/src/filesystem/.libs/libstdc++fs.a 2>… 9 …$(ARX) -X$(BITS) rc src/.libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)-v3/src/.libs/$(PACKAGE).so.$(M… 10 …$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)-v3/src/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAG… 11 …$(ARX) -X$(BITS) rc libsupc++/.libs/libsupc++.a ${addprefix ../ppc$(BITS)/$(PACKAGE)-v3/libsupc++/… 12 …$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)-v3/libsupc++/.libs/libsupc++.a ${addprefix ../pthread/pp… 14 …$(ARX) -X$(BITS) rc src/filesystem/.libs/libstdc++fs.a ${addprefix ../ppc$(BITS)/$(PACKAGE)-v3/src… 15 …$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)-v3/src/filesystem/.libs/libstdc++fs.a ${addprefix ../pth…
|
| /netbsd/src/sys/arch/arc/arc/ |
| D | bus_space.c | 53 #define bus_space_read(BYTES,BITS) \ argument 54 __CONCAT3(uint,BITS,_t) \ 58 return (*(volatile __CONCAT3(uint,BITS,_t) *) \ 76 #define bus_space_read_multi(BYTES,BITS) \ argument 80 __CONCAT3(uint,BITS,_t) *datap, bus_size_t count) \ 82 volatile __CONCAT3(uint,BITS,_t) *p = \ 83 (volatile __CONCAT3(uint,BITS,_t) *) \ 105 #define bus_space_read_region(BYTES,BITS) \ argument 109 __CONCAT3(uint,BITS,_t) *datap, bus_size_t count) \ 112 volatile __CONCAT3(uint,BITS,_t) *p = \ [all …]
|
| /netbsd/src/sys/arch/mipsco/include/ |
| D | bus.h | 340 #define __BS_TYPENAME(BITS) __CONCAT3(uint,BITS,_t) argument 347 #define __BS_ADDR(t, h, offset, BITS, BYTES) \ argument 348 ((volatile __CONCAT3(uint,BITS,_t) *) \ 360 #define __bus_space_read(BYTES,BITS) \ argument 361 static __inline __CONCAT3(uint,BITS,_t) \ 365 return (*__BS_ADDR(bst, bsh, offset, BITS, BYTES)); \ 382 #define __bus_space_read_multi(BYTES,BITS) \ argument 385 __BS_TYPENAME(BITS) *, size_t); \ 392 __BS_TYPENAME(BITS) *a, \ 416 #define __bus_space_read_region(BYTES,BITS) \ argument [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libgcc/config/rs6000/ |
| D | t-slibgcc-aix | 93 BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \ 98 $(ARX) -X$(BITS) x ../ppc$(BITS)/libgcc/libgcc_s.a shr.o 99 $(ARX) -X$(BITS) rc ./libgcc_s.a shr.o 101 $(ARX) -X$(BITS) x ../pthread/ppc$(BITS)/libgcc/libgcc_s.a shr.o 102 $(ARX) -X$(BITS) rc ../pthread/libgcc/libgcc_s.a shr.o 105 $(ARX) -X$(BITS) rc libgcc.a \ 106 $(addprefix ../ppc$(BITS)/libgcc/,$(libgcc-objects)) 107 $(ARX) -X$(BITS) rc libgcc_eh.a \ 108 $(addprefix ../ppc$(BITS)/libgcc/,$(libgcc-eh-objects)) 109 $(ARX) -X$(BITS) rc ../pthread/libgcc/libgcc.a \ [all …]
|
| /netbsd/src/sys/arch/ews4800mips/include/ |
| D | bus.h | 279 #define __TYPENAME(BITS) uint##BITS##_t argument 281 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \ argument 282 static __TYPENAME(BITS) \ 284 static __TYPENAME(BITS) \ 291 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \ argument 294 __TYPENAME(BITS) *, bus_size_t); \ 297 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \ 304 #define _BUS_SPACE_READ_REGION(PREFIX, BYTES, BITS) \ argument 307 __TYPENAME(BITS) *, bus_size_t); \ 310 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \ [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ |
| D | Makefile | 5 BITS?=32 macro 14 *sha512*) perl $$i ${BITS} sha512 > sha512; \ 21 perl $$i ${BITS} sha256 > sha256; \ 30 if [ ${BITS} = 32 ]; then \ 33 perl $$i ${BITS} | perl ${XLATE} linux${BITS} | \ 40 *) perl $$i ${BITS} | perl ${XLATE} linux${BITS} | \
|
| /netbsd/src/sys/arch/playstation2/include/ |
| D | bus.h | 321 #define __TYPENAME(BITS) u_int##BITS##_t argument 323 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \ argument 324 static __TYPENAME(BITS) \ 326 static __TYPENAME(BITS) \ 333 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \ argument 336 __TYPENAME(BITS) *, bus_size_t); \ 339 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \ 346 #define _BUS_SPACE_READ_REGION(PREFIX, BYTES, BITS) \ argument 349 __TYPENAME(BITS) *, bus_size_t); \ 352 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \ [all …]
|
| /netbsd/src/sys/arch/newsmips/include/ |
| D | bus.h | 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(uint,BITS) argument 42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t) argument 146 #define __NEWSMIPS_bus_space_read_multi(BYTES,BITS) \ argument 149 __PB_TYPENAME(BITS) *, size_t); \ 156 __PB_TYPENAME(BITS) *a, \ 180 #define __NEWSMIPS_bus_space_read_region(BYTES,BITS) \ argument 183 __PB_TYPENAME(BITS) *, size_t); \ 190 __PB_TYPENAME(BITS) *a, \ 242 #define __NEWSMIPS_bus_space_write_multi(BYTES,BITS) \ argument 245 const __PB_TYPENAME(BITS) *, size_t); \ [all …]
|
| /netbsd/src/sys/arch/emips/include/ |
| D | bus.h | 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(u_int,BITS) argument 42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t) argument 155 #define __EMIPS_bus_space_read_multi(BYTES,BITS) \ argument 158 __PB_TYPENAME(BITS) *, size_t); \ 165 __PB_TYPENAME(BITS) *a, \ 189 #define __EMIPS_bus_space_read_region(BYTES,BITS) \ argument 192 __PB_TYPENAME(BITS) *, size_t); \ 199 __PB_TYPENAME(BITS) *a, \ 254 #define __EMIPS_bus_space_write_multi(BYTES,BITS) \ argument 257 __PB_TYPENAME(BITS) *, size_t); \ [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/bn/asm/ |
| D | ppc.pl | 112 $BITS= 32; 113 $BNSZ= $BITS/8; 135 $BITS= 64; 136 $BNSZ= $BITS/8; 1649 li r8,$BITS 1668 $SHRI r9,r5,`$BITS/2` # r9 = dh 1674 $SHRI r8,r3,`$BITS/2` #r8 = (h>>BN_BITS4) 1675 $SHRI r11,r4,`$BITS/2` #r11= (l&BN_MASK2h)>>BN_BITS4 1681 $CLRU r8,r8,`$BITS/2` #q = BN_MASK2l 1687 $CLRU r10,r5,`$BITS/2` #r10=dl [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/sha/asm/ |
| D | sha512-ia64.pl | 83 $BITS=8*$SZ; 97 $BITS=8*$SZ; 180 $code.=<<___ if ($BITS==64); 211 $t0="A", $t1="E", $code.=<<___ if ($BITS==64); 459 $t0="t0", $t1="t1", $code.=<<___ if ($BITS==32); 533 $t0="t0", $t1="t1", $code.=<<___ if ($BITS==32); 549 $t0="A", $t1="E", $code.=<<___ if ($BITS==64); 615 if ($BITS==64) { 626 print<<___ if ($BITS==32); 648 print<<___ if ($BITS==64);
|
| /netbsd/src/common/dist/zlib/contrib/infback9/ |
| D | infback9.c | 152 #define BITS(n) \ macro 273 lastblock = BITS(1); in inflateBack9() 275 switch (BITS(2)) { in inflateBack9() 337 state->nlen = BITS(5) + 257; in inflateBack9() 339 state->ndist = BITS(5) + 1; in inflateBack9() 341 state->ncode = BITS(4) + 4; in inflateBack9() 354 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack9() 375 here = lencode[BITS(lenbits)]; in inflateBack9() 394 copy = 3 + BITS(2); in inflateBack9() 401 copy = 3 + BITS(3); in inflateBack9() [all …]
|
| /netbsd/src/common/dist/zlib/ |
| D | infback.c | 184 #define BITS(n) \ macro 289 state->last = BITS(1); in inflateBack() 291 switch (BITS(2)) { in inflateBack() 350 state->nlen = BITS(5) + 257; in inflateBack() 352 state->ndist = BITS(5) + 1; in inflateBack() 354 state->ncode = BITS(4) + 4; in inflateBack() 369 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack() 390 here = state->lencode[BITS(state->lenbits)]; in inflateBack() 408 copy = 3 + BITS(2); in inflateBack() 415 copy = 3 + BITS(3); in inflateBack() [all …]
|
| /netbsd/src/games/battlestar/ |
| D | extern.h | 45 #define BITS (CHAR_BIT * sizeof (unsigned int)) macro 50 #define testbit(array, index) (array[index/BITS] & (1U << (index % BITS))) 51 #define setbit(array, index) (array[index/BITS] |= (1U << (index % BITS))) 52 #define clearbit(array, index) (array[index/BITS] &= ~(1U << (index % BITS))) 215 #define NUMOFWORDS ((NUMOFOBJECTS + BITS - 1) / BITS)
|
| /netbsd/src/external/gpl3/gcc/dist/libgomp/config/ |
| D | t-aix | 2 BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \ 10 … $(ARX) -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR) 11 …$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.lib…
|
| /netbsd/src/sys/arch/pmax/include/ |
| D | bus.h | 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(u_int,BITS) argument 42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t) argument
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | cpu-tilegx.c | 25 #define N(BITS, NUMBER, PRINT, DEFAULT, NEXT) \ argument 27 BITS, /* Bits in a word. */ \ 28 BITS, /* Bits in an address. */ \
|