HomeSort by: relevance | last modified time | path
    Searched refs:SHIFT (Results 1 - 25 of 67) sorted by relevancy

1 2 3

  /src/external/gpl3/gcc.old/dist/gcc/config/tilepro/
gen-mul-tables.cc 31 shift) and computing the multiplier computed by those instructions.
94 operand. So shift left by 5 is considered unary. */
98 /* This describes an operation like 'add two registers' or 'left-shift
103 constant operand. Currently this is used for left-shift by
154 /* the RHS value to write into the C file if unary; used for shift
178 specific to the op (e.g. it might hold a constant shift
225 #define SHIFT(count) \
227 shift##count(MUL_TYPE n) \
232 SHIFT (1);
233 SHIFT (2)
    [all...]
  /src/external/gpl3/binutils/dist/opcodes/
mips-formats.h 21 #define INT_BIAS(SIZE, LSB, MAX_VAL, BIAS, SHIFT, PRINT_HEX) \
24 { OP_INT, SIZE, LSB }, MAX_VAL, BIAS, SHIFT, PRINT_HEX \
29 #define INT_ADJ(SIZE, LSB, MAX_VAL, SHIFT, PRINT_HEX) \
30 INT_BIAS(SIZE, LSB, MAX_VAL, 0, SHIFT, PRINT_HEX)
115 #define PCREL(SIZE, LSB, IS_SIGNED, SHIFT, ALIGN_LOG2, INCLUDE_ISA_BIT, \
120 (1 << ((SIZE) - (IS_SIGNED))) - 1, 0, SHIFT, true }, \
126 #define JUMP(SIZE, LSB, SHIFT) \
127 PCREL (SIZE, LSB, false, SHIFT, SIZE + SHIFT, true, false)
129 #define JALX(SIZE, LSB, SHIFT) \
    [all...]
crx-opc.c 86 /* Create a shift instruction. */
428 #define CSTBIT_INST(NAME, OP, OPC1, DIFF, SHIFT, OPC2) \
434 {NAME, 2, OPC1+0*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {abs16,0}}}, \
436 {NAME, 3, OPC1+1*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {abs32,0}}}, \
438 {NAME, 1, OPC2, SHIFT+4, CSTBIT_INS, {{OP,20}, {rbase,16}}}, \
440 {NAME, 2, OPC1+2*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rbase_disps12,12}}}, \
442 {NAME, 3, OPC1+3*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rbase_disps28,12}}}, \
444 {NAME, 2, OPC1+4*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rindex_disps6,0}}}, \
446 {NAME, 3, OPC1+5*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rindex_disps22,0}}}
cr16-opc.c 137 /* Create a shift instruction. */
138 #define SHIFT_INST_A(NAME, OPC1, OPC2, SHIFT, OP1, OP2) \
140 {NAME, 1, OPC1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}}, \
142 {NAME, 1, OPC1+1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}},\
150 #define SHIFT_INST_L(NAME, OPC1, OPC2, SHIFT, OP1, OP2) \
152 {NAME, 1, OPC1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}}, \
  /src/external/gpl3/binutils.old/dist/opcodes/
mips-formats.h 21 #define INT_BIAS(SIZE, LSB, MAX_VAL, BIAS, SHIFT, PRINT_HEX) \
24 { OP_INT, SIZE, LSB }, MAX_VAL, BIAS, SHIFT, PRINT_HEX \
29 #define INT_ADJ(SIZE, LSB, MAX_VAL, SHIFT, PRINT_HEX) \
30 INT_BIAS(SIZE, LSB, MAX_VAL, 0, SHIFT, PRINT_HEX)
115 #define PCREL(SIZE, LSB, IS_SIGNED, SHIFT, ALIGN_LOG2, INCLUDE_ISA_BIT, \
120 (1 << ((SIZE) - (IS_SIGNED))) - 1, 0, SHIFT, true }, \
126 #define JUMP(SIZE, LSB, SHIFT) \
127 PCREL (SIZE, LSB, false, SHIFT, SIZE + SHIFT, true, false)
129 #define JALX(SIZE, LSB, SHIFT) \
    [all...]
crx-opc.c 86 /* Create a shift instruction. */
428 #define CSTBIT_INST(NAME, OP, OPC1, DIFF, SHIFT, OPC2) \
434 {NAME, 2, OPC1+0*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {abs16,0}}}, \
436 {NAME, 3, OPC1+1*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {abs32,0}}}, \
438 {NAME, 1, OPC2, SHIFT+4, CSTBIT_INS, {{OP,20}, {rbase,16}}}, \
440 {NAME, 2, OPC1+2*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rbase_disps12,12}}}, \
442 {NAME, 3, OPC1+3*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rbase_disps28,12}}}, \
444 {NAME, 2, OPC1+4*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rindex_disps6,0}}}, \
446 {NAME, 3, OPC1+5*DIFF, SHIFT, CSTBIT_INS, {{OP,16}, {rindex_disps22,0}}}
cr16-opc.c 137 /* Create a shift instruction. */
138 #define SHIFT_INST_A(NAME, OPC1, OPC2, SHIFT, OP1, OP2) \
140 {NAME, 1, OPC1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}}, \
142 {NAME, 1, OPC1+1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}},\
150 #define SHIFT_INST_L(NAME, OPC1, OPC2, SHIFT, OP1, OP2) \
152 {NAME, 1, OPC1, SHIFT, SHIFT_INS, {{OP1,20}, {OP2,16}}}, \
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AMDHSAKernelDescriptor.h 27 // entries include bit shift amount, bit width, and bit mask.
29 #define AMDHSA_BITS_ENUM_ENTRY(NAME, SHIFT, WIDTH) \
30 NAME ## _SHIFT = (SHIFT), \
32 NAME = (((1 << (WIDTH)) - 1) << (SHIFT))
75 #define COMPUTE_PGM_RSRC1(NAME, SHIFT, WIDTH) \
76 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC1_ ## NAME, SHIFT, WIDTH)
100 #define COMPUTE_PGM_RSRC2(NAME, SHIFT, WIDTH) \
101 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC2_ ## NAME, SHIFT, WIDTH)
127 #define COMPUTE_PGM_RSRC3_GFX90A(NAME, SHIFT, WIDTH) \
128 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC3_GFX90A_ ## NAME, SHIFT, WIDTH
    [all...]
  /src/share/examples/rump/ukbd_read/
kbd.c 48 #define SHIFT (-0x20)
54 int shift = 0; local
75 shift = 0;
80 shift = SHIFT;
94 printf(" (%c)", wev->value - 0x04 + 'a' + shift);
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
i915_syncmap.c 60 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT);
63 X = (p->height + SHIFT) / 4;
301 for (order = 0; order < 64; order += SHIFT) {
350 for (order = 64 - SHIFT; order > 0; order -= SHIFT) {
367 for (order = SHIFT; order < 64; order += SHIFT) {
388 for (order = SHIFT; order < 64; order += SHIFT) {
467 for (order = SHIFT; order < 64; order += SHIFT)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_syncmap.c 37 #define SHIFT ilog2(KSYNCMAP)
99 BUILD_BUG_ON_NOT_POWER_OF_2(SHIFT);
131 return id >> p->height >> SHIFT;
137 return id >> SHIFT;
297 above = round_up(above, SHIFT);
310 idx = p->prefix >> (above - SHIFT) & MASK;
  /src/external/bsd/byacc/dist/
verbose.c 101 fprintf(verbose_file, "%ld shift/reduce conflict%s",
134 act = 0; /* not shift/reduce... */
146 if (p->action_code == SHIFT)
147 act = SHIFT;
155 fprintf(verbose_file, "%d: shift/reduce conflict \
160 if (act == SHIFT)
162 fprintf(verbose_file, "%d: shift/reduce conflict \
163 (shift %ld, reduce %ld) on %s\n", state, (long)number, (long)(p->number - 2),
271 int as = accessing_symbol[sp->shift[sp->nshifts - 1]];
287 if (q->suppressed < 2 && q->action_code == SHIFT)
    [all...]
mkpar.c 91 to_state2 = sp->shift;
104 temp->action_code = SHIFT;
147 while (next && next->symbol == symbol && next->action_code == SHIFT)
187 to_state2 = p->shift;
266 else if (pref != NULL && pref->action_code == SHIFT)
320 fprintf(stderr, "1 shift/reduce conflict");
322 fprintf(stderr, "%d shift/reduce conflicts", SRtotal);
337 fprintf(stderr, "expected %d shift/reduce conflict%s.\n",
360 if (p->action_code == SHIFT && MaySuppress(p))
  /src/external/gpl3/binutils/dist/binutils/
rcparse.h 63 SHIFT = 264, /* SHIFT */
168 #define SHIFT 264
  /src/external/gpl3/binutils/dist/include/opcode/
cr16.h 246 unsigned int shift; member in struct:__anon8285
409 as a 32-bit unsigned long, where OPC is expanded (by a left SHIFT)
411 #define BIN(OPC,SHIFT) (OPC << SHIFT)
crx.h 250 unsigned int shift; member in struct:__anon8298
395 as a 32-bit unsigned long, where OPC is expanded (by a left SHIFT)
397 #define BIN(OPC,SHIFT) (OPC << SHIFT)
tic54x.h 54 OP_SHIFT, /* -16 to 15 (SHIFT), bits 0-4 */
103 #define SHIFT(OP) (((OP)&0x10)?(((OP)&0x1F)-32):((OP)&0x1F))
riscv.h 451 /* Replace bits MASK << SHIFT of STRUCT with the equivalent bits in
452 VALUE << SHIFT. VALUE is evaluated exactly once. */
453 #define INSERT_BITS(STRUCT, VALUE, MASK, SHIFT) \
454 (STRUCT) = (((STRUCT) & ~((insn_t)(MASK) << (SHIFT))) \
455 | ((insn_t)((VALUE) & (MASK)) << (SHIFT)))
457 /* Extract bits MASK << SHIFT from STRUCT and shift them right
458 SHIFT places. */
459 #define EXTRACT_BITS(STRUCT, MASK, SHIFT) \
460 (((STRUCT) >> (SHIFT)) & (MASK)
    [all...]
  /src/external/gpl3/binutils.old/dist/binutils/
rcparse.h 63 SHIFT = 264, /* SHIFT */
168 #define SHIFT 264
  /src/external/gpl3/binutils.old/dist/include/opcode/
cr16.h 246 unsigned int shift; member in struct:__anon9749
409 as a 32-bit unsigned long, where OPC is expanded (by a left SHIFT)
411 #define BIN(OPC,SHIFT) (OPC << SHIFT)
crx.h 250 unsigned int shift; member in struct:__anon9762
395 as a 32-bit unsigned long, where OPC is expanded (by a left SHIFT)
397 #define BIN(OPC,SHIFT) (OPC << SHIFT)
tic54x.h 54 OP_SHIFT, /* -16 to 15 (SHIFT), bits 0-4 */
103 #define SHIFT(OP) (((OP)&0x10)?(((OP)&0x1F)-32):((OP)&0x1F))
  /src/external/gpl3/binutils/dist/gas/config/
bfin-parse.h 138 SHIFT = 339, /* SHIFT */
316 #define SHIFT 339
  /src/external/gpl3/binutils.old/dist/gas/config/
bfin-parse.h 138 SHIFT = 339, /* SHIFT */
316 #define SHIFT 339
  /src/external/apache2/mDNSResponder/dist/mDNSShared/
CommonServices.h 641 @abstract Inserts BITS (both 0 and 1 bits) into X, controlled by MASK and SHIFT, and returns the result.
646 SHIFT is the number of bits to shift left for 1 to reach the first bit position of MASK.
653 #define InsertBits( X, BITS, MASK, SHIFT ) ( ( ( X ) &~( MASK ) ) | ( ( ( BITS ) << ( SHIFT ) ) & ( MASK ) ) )
658 @abstract Extracts bits from X, controlled by MASK and SHIFT, and returns the result.
663 SHIFT is the number of bits to shift right to right justify MASK.
670 #define ExtractBits( X, MASK, SHIFT ) ( ( ( X ) >> ( SHIFT ) ) & ( ( MASK ) >> ( SHIFT ) )
    [all...]

Completed in 46 milliseconds

1 2 3