Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for REG_LSL (0.55 sec)

  1. src/cmd/internal/obj/arm64/list7.go

    			return fmt.Sprintf("%s.SXTX<<%d", regname(r), ext)
    		} else {
    			return fmt.Sprintf("%s.SXTX", regname(r))
    		}
    	// bits 0-4 indicate register, bits 5-7 indicate shift amount, bit 8 equals to 0.
    	case REG_LSL <= r && r < (REG_LSL+1<<8):
    		return fmt.Sprintf("R%d<<%d", r&31, (r>>5)&7)
    	case REG_ARNG <= r && r < REG_ELEM:
    		return fmt.Sprintf("V%d.%s", r&31, arrange((r>>5)&15))
    	case REG_ELEM <= r && r < REG_ELEM_END:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/a.out.go

    // you should subtract obj.RBaseARM64 first. From this difference, bit 11
    // indicates extended register, bits 8-10 select the conversion mode.
    // REG_LSL is the index shift specifier, bit 9 indicates shifted offset register.
    const REG_LSL = obj.RBaseARM64 + 1<<9
    const REG_EXT = obj.RBaseARM64 + 1<<11
    
    const (
    	REG_UXTB = REG_EXT + iota<<8
    	REG_UXTH
    	REG_UXTW
    	REG_UXTX
    	REG_SXTB
    	REG_SXTH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm64.go

    			}
    		case "SXTX":
    			if a.Type == obj.TYPE_MEM {
    				a.Index = arm64.REG_SXTX + Rnum
    			} else {
    				a.Reg = arm64.REG_SXTX + Rnum
    			}
    		case "LSL":
    			a.Index = arm64.REG_LSL + Rnum
    		default:
    			return errors.New("unsupported general register extension type: " + ext)
    
    		}
    	} else if reg <= arm64.REG_V31 && reg >= arm64.REG_V0 {
    		switch ext {
    		case "B8":
    			if isIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/obj7.go

    				// reportings, don't call ctxt.Diag, because asmout case 27 has the
    				// same check.
    				shift = 7
    			}
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = int16(REG_LSL + r + (shift&7)<<5)
    			p.From.Offset = 0
    		}
    	}
    }
    
    func nocache(p *obj.Prog) {
    	p.Optab = 0
    	p.From.Class = 0
    	p.To.Class = 0
    }
    
    var unaryDst = map[obj.As]bool{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/asm7.go

    		return true
    	}
    	return false
    }
    
    func isRegShiftOrExt(a *obj.Addr) bool {
    	return (a.Index-obj.RBaseARM64)&REG_EXT != 0 || (a.Index-obj.RBaseARM64)&REG_LSL != 0
    }
    
    // Maximum PC-relative displacement.
    // The actual limit is ±2²⁰, but we are conservative
    // to avoid needing to recompute the literal pool flush points
    // as span-dependent jumps are enlarged.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top