Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SPR (0.01 sec)

  1. src/cmd/asm/internal/arch/ppc64.go

    			return ppc64.REG_V0 + n, true
    		}
    	case "F":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_F0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_R0 + n, true
    		}
    	case "SPR":
    		if 0 <= n && n <= 1024 {
    			return ppc64.REG_SPR0 + n, true
    		}
    	}
    	return 0, false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arch.go

    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BC $16,CR0LT,0(PC)              // 42000000
    	BCL $16,CR0LT,0(PC)             // 42000001
    	BC $18,CR0LT,0(PC)              // 42400000
    
    	MOVD SPR(3), 4(R1)              // 7fe302a6fbe10004
    	MOVD XER, 4(R1)                 // 7fe102a6fbe10004
    	MOVD 4(R1), SPR(3)              // ebe100047fe303a6
    	MOVD 4(R1), XER                 // ebe100047fe103a6
    	OR $0, R0, R0                   // 60000000
    
    	PCALIGN $16
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 13:14:38 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    	// ARM64 only.
    	if p.arch.Family != sys.ARM64 {
    		return false
    	}
    	// R1.xxx
    	return p.peek() == '.'
    }
    
    // registerReference parses a register given either the name, R10, or a parenthesized form, SPR(10).
    func (p *Parser) registerReference(name string) (int16, bool) {
    	r, present := p.arch.Register[name]
    	if present {
    		return r, true
    	}
    	if !p.arch.RegisterPrefix[name] {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top