Home | History | Annotate | Download | only in vbit-test

Lines Matching refs:vbits

59       expected_vbits = defined_vbits(result->vbits.num_bits);
63 expected_vbits = undefined_vbits(result->vbits.num_bits);
68 expected_vbits = left_vbits(or_vbits(opnd1->vbits, opnd2->vbits),
69 result->vbits.num_bits);
73 assert(opnd1->vbits.num_bits == opnd2->vbits.num_bits);
74 assert(opnd1->vbits.num_bits == result->vbits.num_bits);
77 expected_vbits = or_vbits(opnd1->vbits, opnd2->vbits);
81 assert(opnd1->vbits.num_bits == opnd2->vbits.num_bits);
82 assert(result->vbits.num_bits == 2 * opnd1->vbits.num_bits);
83 expected_vbits = concat_vbits(opnd1->vbits, opnd2->vbits);
89 if (! completely_defined_vbits(opnd2->vbits)) {
90 expected_vbits = undefined_vbits(result->vbits.num_bits);
92 assert(opnd2->vbits.num_bits == 8);
95 expected_vbits = shl_vbits(opnd1->vbits, shift_amount);
102 if (! completely_defined_vbits(opnd2->vbits)) {
103 expected_vbits = undefined_vbits(result->vbits.num_bits);
105 assert(opnd2->vbits.num_bits == 8);
108 expected_vbits = shr_vbits(opnd1->vbits, shift_amount);
115 if (! completely_defined_vbits(opnd2->vbits)) {
116 expected_vbits = undefined_vbits(result->vbits.num_bits);
118 assert(opnd2->vbits.num_bits == 8);
121 expected_vbits = sar_vbits(opnd1->vbits, shift_amount);
134 term1 = and_vbits(opnd1->vbits, opnd2->vbits);
135 term2 = and_combine(opnd1->vbits, opnd2->vbits, opnd2->value, 0);
136 term3 = and_combine(opnd2->vbits, opnd1->vbits, opnd1->value, 0);
150 term1 = and_vbits(opnd1->vbits, opnd2->vbits);
151 term2 = and_combine(opnd1->vbits, opnd2->vbits, opnd2->value, 1);
152 term3 = and_combine(opnd2->vbits, opnd1->vbits, opnd1->value, 1);
162 expected_vbits = cmpord_vbits(opnd1->vbits.num_bits,
163 opnd2->vbits.num_bits);
170 if (! equal_vbits(result->vbits, expected_vbits))
191 opnds[0].vbits = onehot_vbits(i, bitsof_irtype(opnds[0].type));
192 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
209 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
210 opnds[1].vbits = onehot_vbits(i, bitsof_irtype(opnds[1].type));
271 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type));
272 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
285 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type));
286 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
303 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type));
304 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
317 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type));
318 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
344 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
345 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
349 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type));
360 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
361 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
365 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type));
380 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
381 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
385 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type));
396 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
397 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
401 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type));
446 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type));
447 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type));
459 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type));