Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for imm (0.01 sec)

  1. src/cmd/asm/internal/asm/testdata/mips.s

    	//	}
    	SLL	R1, R2
    
    	//	LSHW imm ',' sreg ',' rreg
    	//	{
    	//		outcode(int($1), &$2, int($4), &$6);
    	//	}
    	SLL	$4, R1, R2
    
    	//	LSHW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	SLL	$4, R1
    
    	//
    	// move immediate: macro for lui+or, addi, addis, and other combinations
    	//
    	//	LMOVW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/riscv64.go

    // 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
    	case riscv.ACSRRC, riscv.ACSRRS, riscv.ACSRRW:
    		ok = true
    	}
    	return
    }
    
    var riscv64SpecialOperand map[string]riscv.SpecialOperand
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Sep 12 08:12:45 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top