Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for immhalf (0.24 sec)

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

    				if immhalf(int32(c.instoffset)) { /* n.b. that it will also satisfy immrot */
    					if immfloat(t) {
    						return C_HFOREG
    					}
    					return C_HOREG
    				}
    
    				if immfloat(t) {
    					return C_FOREG /* n.b. that it will also satisfy immrot */
    				}
    				if immrot(uint32(c.instoffset)) != 0 {
    					return C_SROREG
    				}
    				if immhalf(int32(c.instoffset)) {
    					return C_HOREG
    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/vendor/golang.org/x/arch/arm/armasm/inst.go

    	return fmt.Sprintf("#%#x", uint32(i))
    }
    
    // An ImmAlt is an alternate encoding of an integer constant.
    type ImmAlt struct {
    	Val uint8
    	Rot uint8
    }
    
    func (ImmAlt) IsArg() {}
    
    func (i ImmAlt) Imm() Imm {
    	v := uint32(i.Val)
    	r := uint(i.Rot)
    	return Imm(v>>r | v<<(32-r))
    }
    
    func (i ImmAlt) String() string {
    	return fmt.Sprintf("#%#x, %d", i.Val, i.Rot)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/arm/armasm/gnu.go

    	case Imm:
    		switch inst.Op &^ 15 {
    		case BKPT_EQ:
    			return fmt.Sprintf("%#04x", uint32(arg))
    		case SVC_EQ:
    			return fmt.Sprintf("%#08x", uint32(arg))
    		}
    		return fmt.Sprintf("#%d", int32(arg))
    
    	case ImmAlt:
    		return fmt.Sprintf("#%d, %d", arg.Val, arg.Rot)
    
    	case Mem:
    		R := gnuArg(inst, -1, arg.Base)
    		X := ""
    		if arg.Sign != 0 {
    			X = ""
    			if arg.Sign < 0 {
    				X = "-"
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 17:21:52 UTC 2016
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    	case arg_const:
    		v := x & (1<<8 - 1)
    		rot := (x >> 8) & (1<<4 - 1) * 2
    		if rot > 0 && v&3 == 0 {
    			// could rotate less
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		if rot >= 24 && ((v<<(32-rot))&0xFF)>>(32-rot) == v {
    			// could wrap around to rot==0.
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		return Imm(v>>rot | v<<(32-rot))
    
    	case arg_endian:
    		return Endian((x >> 9) & 1)
    
    	case arg_fbits:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    		immhi := ((x >> 5) & (1<<19 - 1))
    		immlo := ((x >> 29) & (1<<2 - 1))
    		immhilo := (immhi)<<2 | immlo
    		return PCRel((int64(immhilo) << 43) >> 43)
    
    	case arg_slabel_immhi_immlo_12:
    		immhi := ((x >> 5) & (1<<19 - 1))
    		immlo := ((x >> 29) & (1<<2 - 1))
    		immhilo := (immhi)<<2 | immlo
    		return PCRel(((int64(immhilo) << 12) << 31) >> 31)
    
    	case arg_Xns_mem:
    		Rn := RegSP(X0) + RegSP(x>>5&(1<<5-1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
Back to top