- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for IsRISCV64CSRO (0.08 seconds)
-
src/cmd/asm/internal/arch/riscv64.go
// requires special handling. func IsRISCV64VTypeI(op obj.As) bool { return op == riscv.AVSETVLI || op == riscv.AVSETIVLI } // IsRISCV64CSRO reports whether the op is an instruction that uses // CSR symbolic names and whether that instruction expects a register // or an immediate source operand. func IsRISCV64CSRO(op obj.As) (imm bool, ok bool) { switch op { case riscv.ACSRRCI, riscv.ACSRRSI, riscv.ACSRRWI: imm = true fallthrough
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 3K bytes - Click Count (0) -
src/cmd/asm/internal/asm/asm.go
return } prog.RegTo2 = a[2].Reg break } // RISCV64 instructions that reference CSRs with symbolic names. if isImm, ok := arch.IsRISCV64CSRO(op); ok { if a[0].Type != obj.TYPE_CONST && isImm { p.errorf("invalid value for first operand to %s instruction, must be a 5 bit unsigned immediate", op) return }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 27.5K bytes - Click Count (0)