Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Ugly (0.17 sec)

  1. src/cmd/asm/internal/lex/lex.go

    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    	ARR                                   // -> Used on ARM for shift type 3, arithmetic right shift.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) atRegisterShift() bool {
    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    	}
    	// R(1)<<...   Ugly check. TODO: Rethink how we handle ARM register shifts to be
    	// less special.
    	if p.peek() != '(' || len(p.input)-p.inputPos < 4 {
    		return false
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top