Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Shift (0.16 sec)

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

    			}
    		case lex.LSH:
    			p.next()
    			shift := p.factor()
    			if int64(shift) < 0 {
    				p.errorf("negative left shift count")
    			}
    			return value << shift
    		case lex.RSH:
    			p.next()
    			shift := p.term()
    			if int64(shift) < 0 {
    				p.errorf("negative right shift count")
    			}
    			if int64(value) < 0 {
    				p.errorf("right shift of value with high bit set")
    			}
    			value >>= shift
    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)
  2. src/cmd/asm/internal/arch/arm64.go

    		}
    	}
    	return 0, false
    }
    
    // ARM64RegisterShift constructs an ARM64 register with shift operation.
    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  3. doc/asm.html

    <code>R0-&gt;16</code>
    <br>
    <code>R0&gt;&gt;16</code>
    <br>
    <code>R0&lt;&lt;16</code>
    <br>
    <code>R0@&gt;16</code>:
    For <code>&lt;&lt;</code>, left shift <code>R0</code> by 16 bits.
    The other codes are <code>-&gt;</code> (arithmetic right shift),
    <code>&gt;&gt;</code> (logical right shift), and
    <code>@&gt;</code> (rotate right).
    </li>
    
    <li>
    <code>R0-&gt;R1</code>
    <br>
    <code>R0&gt;&gt;R1</code>
    <br>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/armerror.s

    	MOVB	R0>>8, R2          // ERROR "illegal shift"
    	MOVH	R0<<16, R2         // ERROR "illegal shift"
    	MOVBS	R0->8, R2          // ERROR "illegal shift"
    	MOVHS	R0<<24, R2         // ERROR "illegal shift"
    	MOVBU	R0->24, R2         // ERROR "illegal shift"
    	MOVHU	R0@>1, R2          // ERROR "illegal shift"
    	XTAB	R0>>8, R2          // ERROR "illegal shift"
    	XTAH	R0<<16, R2         // ERROR "illegal shift"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 03 14:06:21 GMT 2017
    - 14.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDSW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUB	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUBW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/mips64.s

    //	LMOVW mreg ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVW	M1, R1 // 40010800
    	MOVV	M1, R1 // 40210800
    
    
    //
    // integer operations
    // logical instructions
    // shift instructions
    // unary instructions
    //
    //	LADDW rreg ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	ADD	R5, R9, R10	// 01255020
    	ADDU	R13, R14, R19	// 01cd9821
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/s390x.s

    	ORW	(R1), R2              // 56201000
    	ORW	-1(R1), R2            // e3201fffff56
    	XOR	(R1), R2              // e32010000082
    	XORW	(R1), R2              // 57201000
    	XORW	-1(R1), R2            // e3201fffff57
    
    	// shift and rotate instructions
    	SRD	$4, R4, R7              // eb740004000c
    	SRD	R1, R4, R7              // eb741000000c
    	SRW	$4, R4, R7              // eb74000400de
    	SRW	R1, R4, R7              // eb74100000de
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    			name:    "the replacement rune is �",
    			comment: "the replacement rune is �",
    			flags:   0x808,
    		},
    		{
    			// Name is Japanese encoded in Shift JIS.
    			name:    "\x93\xfa\x96{\x8c\xea.txt",
    			comment: "in the 世界",
    			flags:   0x008, // UTF-8 must not be set
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    		// If we've already hit EOF or an I/O error, we are done.
    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    		if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg go/constant, func MakeUint64(uint64) Value
    pkg go/constant, func MakeUnknown() Value
    pkg go/constant, func Num(Value) Value
    pkg go/constant, func Real(Value) Value
    pkg go/constant, func Shift(Value, token.Token, uint) Value
    pkg go/constant, func Sign(Value) int
    pkg go/constant, func StringVal(Value) string
    pkg go/constant, func Uint64Val(Value) (uint64, bool)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top