Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateRaw (0.14 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    	wantImmI(ctxt, ins, ins.imm, 21)
    	wantIntReg(ctxt, ins, "rd", ins.rd)
    	wantNoneReg(ctxt, ins, "rs1", ins.rs1)
    	wantNoneReg(ctxt, ins, "rs2", ins.rs2)
    	wantNoneReg(ctxt, ins, "rs3", ins.rs3)
    }
    
    func validateRaw(ctxt *obj.Link, ins *instruction) {
    	// Treat the raw value specially as a 32-bit unsigned integer.
    	// Nobody wants to enter negative machine code.
    	if ins.imm < 0 || 1<<32 <= ins.imm {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top