Home
last modified time | relevance | path

Searched refs:op_bits (Results 1 – 25 of 80) sorted by relevance

1234

/dports/cad/verilator/verilator-4.216/test_regress/t/
H A Dt_gen_if.v12 parameter op_bits = 32; constant
13 input [op_bits -1:0] data_i;
20 if (op_bits == 32) begin : general_case
28 assign data_o = {{(32 -op_bits){1'b0}},data_i};
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/cranelift/codegen/meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/cranelift-codegen-meta-0.44.0/src/isa/riscv/
H A Dencodings.rs88 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
182 e.add32(enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
183 e.add64(enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
209 e.add32(enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
210 e.add64(enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add64(enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
245 enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b0000000)) in define()
249 enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b0000000)) in define()
254 enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b0000000)) in define()
258 enc(icmp_i64.clone(), r_ricmp, op_bits(0b011, 0b0000000)) in define()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/cranelift-codegen-meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/cranelift-codegen-meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/cranelift-codegen-meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/cranelift-codegen-meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/cranelift-codegen-meta/src/isa/riscv/
H A Dencodings.rs92 fn op_bits(funct3: u16, funct7: u16) -> u16 { in op_bits() function
186 e.add32(e.enc(inst.bind(I32), r_r, op_bits(f3, f7))); in define()
187 e.add64(e.enc(inst.bind(I64), r_r, op_bits(f3, f7))); in define()
213 e.add32(e.enc(inst.bind(I32).bind(I32), r_r, op_bits(f3, f7))); in define()
214 e.add64(e.enc(inst.bind(I64).bind(I64), r_r, op_bits(f3, f7))); in define()
217 e.add64(e.enc(inst.bind(I64).bind(I32), r_r, op_bits(f3, f7))); in define()
249 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
253 e.enc(icmp_i64.clone(), r_ricmp, op_bits(0b010, 0b000_0000)) in define()
258 e.enc(icmp_i32.clone(), r_ricmp, op_bits(0b011, 0b000_0000)) in define()
296 e.enc(imul.bind(I32), r_r, op_bits(0b000, 0b0000_0001)) in define()
[all …]
/dports/emulators/elliott-803/Elliott-803-0.1.8/emulator/cpu/
H A Dconvert.c96 int op1 = op_bits & (word >> first_op_shift); in to_machine_code()
99 int op2 = op_bits & (word >> second_op_shift); in to_machine_code()
H A Dconstants.h43 static const int64_t op_bits = 077; variable
H A Dcpu803.c411 int op = (word >> first_op_shift) & op_bits; in cpu803_execute()
434 int op = (word >> second_op_shift) & op_bits; in cpu803_execute()
/dports/emulators/simh/simh-3.9.0_5/HP2100/
H A Dhp2100_fp1.c319 static const uint32 op_bits[6] = { IN_W_SMAGN, variable
709 if (magn <= (int32) op_bits[augend.precision]) { /* value swamped? */ in add()
1046 (int32) op_bits[result->precision]) { in fix()
1055 op_bits[result->precision] - operand.exponent); in fix()
1088 result->exponent = op_bits[operand.precision]; /* set exponent */ in ffloat()
1432 else if (unpacked.exponent >= (int32) op_bits[precision]) /* no fractional bits? */ in fp_trun()
/dports/emulators/simh-hp2100/simh-hp2100-3.11.0.31/SCP/HP2100/
H A Dhp2100_cpu_fpp.c332 static const uint32 op_bits[6] = { IN_W_SMAGN, variable
722 if (magn <= (int32) op_bits[augend.precision]) { /* value swamped? */ in add()
1059 (int32) op_bits[result->precision]) { in fix()
1068 op_bits[result->precision] - operand.exponent); in fix()
1101 result->exponent = op_bits[operand.precision]; /* set exponent */ in ffloat()
1445 else if (unpacked.exponent >= (int32) op_bits[precision]) /* no fractional bits? */ in fp_trun()
/dports/emulators/simh-hpdoc/simh-hpdoc-3.11.0/SCP/HP2100/
H A Dhp2100_cpu_fpp.c332 static const uint32 op_bits[6] = { IN_W_SMAGN, variable
722 if (magn <= (int32) op_bits[augend.precision]) { /* value swamped? */ in add()
1059 (int32) op_bits[result->precision]) { in fix()
1068 op_bits[result->precision] - operand.exponent); in fix()
1101 result->exponent = op_bits[operand.precision]; /* set exponent */ in ffloat()
1445 else if (unpacked.exponent >= (int32) op_bits[precision]) /* no fractional bits? */ in fp_trun()
H A Dhp2100_sys.c431 t_value op_bits; /* significant opcode bits mask */ member
4068 … & ops [op_index].op_bits /* masked to the significant opcode bits */ in fprint_instruction()
4114 if (ops [op_index].op_bits > D16_MASK) { /* if this is a two-word instruction */ in fprint_instruction()
4601 …accumulator = (uint32) optr->op_bits; /* then accumulate the significant opcode … in parse_instruction()
4668 if (optr->op_bits > D16_MASK) { /* if this is a two-word instruction */ in parse_instruction()
4964 …if (*accumulator & optr->op_bits & ~(AB_MASK | ASG)) /* then if this opcode has been entered … in parse_micro_ops()
4967 … if (*accumulator & optr->op_bits & AB_MASK /* if the A/B-register selector is significant */ in parse_micro_ops()
4972 … *accumulator |= optr->op_bits; /* and accumulate the significant opcode bits */ in parse_micro_ops()
/dports/lang/clover/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-libs/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/libosmesa/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-dri/mesa-21.3.6/src/amd/compiler/
H A Daco_validate.cpp489 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
492 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
493 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
495 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
497 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
501 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/amd/compiler/
H A Daco_validate.cpp496 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
499 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
500 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
502 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
504 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
508 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()

1234