Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetFrom3 (0.12 sec)

  1. src/cmd/internal/obj/arm/asm5.go

    		} else if p.As == ABFC { // only "BFC $width, $lsb, Reg" is accepted, p.Reg must be 0
    			c.ctxt.Diag("illegal combination: %v", p)
    		}
    		if p.GetFrom3() == nil || p.GetFrom3().Type != obj.TYPE_CONST {
    			c.ctxt.Diag("%v: missing or wrong LSB", p)
    			break
    		}
    		lsb := p.GetFrom3().Offset
    		width := p.From.Offset
    		if lsb < 0 || lsb > 31 || width <= 0 || (lsb+width) > 32 {
    			c.ctxt.Diag("%v: wrong width or LSB", p)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ppc64/ssa.go

    			p.AddRestSourceReg(v.Args[1].Reg())
    		} else {
    			p.AddRestSourceReg(ppc64.REG_R0)
    		}
    		// AuxInt values 4,5,6 implemented with reverse operand order from 0,1,2
    		if v.AuxInt > 3 {
    			p.Reg, p.GetFrom3().Reg = p.GetFrom3().Reg, p.Reg
    		}
    		p.From.SetConst(v.AuxInt & 3)
    
    	case ssa.OpPPC64SETBC, ssa.OpPPC64SETBCR:
    		p := s.Prog(v.Op.Asm())
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top