Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for cmpw (0.04 sec)

  1. test/codegen/comparisons.go

    	// s390x:`MOVHBR\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	return s == "xx"
    }
    
    func CompareString2(s string) bool {
    	// amd64:`CMPL\t\(.*\), [$]`
    	// arm64:`MOVWU\t\(.*\), [R]`,`CMPW\t.*, [R]`
    	// ppc64le:`MOVWZ\t\(.*\), [R]`,`CMPW\t.*, [R]`
    	// s390x:`MOVWBR\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	return s == "xxxx"
    }
    
    func CompareString3(s string) bool {
    	// amd64:`CMPQ\t\(.*\), [A-Z]`
    	// arm64:-`CMPW\t`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/s390x.s

    	CMP	R1, R2                 // b9200012
    	CMP	R3, $32767             // a73f7fff
    	CMP	R3, $32768             // c23c00008000
    	CMP	R3, $-2147483648       // c23c80000000
    	CMPU	R4, R5                 // b9210045
    	CMPU	R6, $4294967295        // c26effffffff
    	CMPW	R7, R8                 // 1978
    	CMPW	R9, $-32768            // a79e8000
    	CMPW	R9, $-32769            // c29dffff7fff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 03:55:32 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  3. src/runtime/sys_linux_ppc64x.s

    	// compared to ARM64 and others.
    	CMP	$0, R9
    	BEQ	sigtrampnog // g == nil
    
    	// g is not nil. Check further.
    	MOVD	g_m(R9), R6
    	CMP	$0, R6
    	BEQ	sigtramp    // g.m == nil
    	MOVW	m_ncgo(R6), R7
    	CMPW	$0, R7
    	BEQ	sigtramp    // g.m.ncgo = 0
    	MOVD	m_curg(R6), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg == nil
    	MOVD	g_syscallsp(R7), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg.syscallsp == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_ppc64.s

    	CALL	libc_mmap(SB)
    	MOVD	$0, R4
    	CMP	R3, $-1
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R3), R4		// errno
    	MOVD	$0, R3
    noerr:
    	MOVD	R3, 32(R14)
    	MOVD	R4, 40(R14)
    	RET
    
    TEXT runtime·munmap_trampoline(SB),NOSPLIT,$32
    	MOVD	8(R3), R4		// arg 2 - len
    	MOVD	0(R3), R3		// arg 1 - addr
    	CALL	libc_munmap(SB)
    	CMP	R3, $-1
    	BNE	3(PC)
    	MOVD	$0, R3			// crash on failure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/sys_darwin_arm64.s

    	MOVW	0(R0), R0	// arg 1 fd
    	BL	libc_write(SB)
    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    	NEG	R0, R0		// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·read_trampoline(SB),NOSPLIT,$0
    	MOVD	8(R0), R1	// arg 2 buf
    	MOVW	16(R0), R2	// arg 3 count
    	MOVW	0(R0), R0	// arg 1 fd
    	BL	libc_read(SB)
    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  6. test/codegen/memops.go

    var x32 [2]uint32
    var x64 [2]uint64
    
    func compMem1() int {
    	// amd64:`CMPB\tcommand-line-arguments.x\+1\(SB\), [$]0`
    	if x[1] {
    		return 1
    	}
    	// amd64:`CMPB\tcommand-line-arguments.x8\+1\(SB\), [$]7`
    	if x8[1] == 7 {
    		return 1
    	}
    	// amd64:`CMPW\tcommand-line-arguments.x16\+2\(SB\), [$]7`
    	if x16[1] == 7 {
    		return 1
    	}
    	// amd64:`CMPL\tcommand-line-arguments.x32\+4\(SB\), [$]7`
    	if x32[1] == 7 {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. src/crypto/aes/asm_ppc64x.s

    #ifdef NEEDS_ESPERM
    	MOVD	$·rcon(SB), R11
    	LVX	(R11), ESPERM   // Permute value for P8_ macros.
    #endif
    
    	// Assume len > 0 && len % blockSize == 0.
    	CMPW	ENC, $0
    	P8_LXVB16X(IVP, R0, IVEC)
    	CMPU	ROUNDS, $10, CR1
    	CMPU	ROUNDS, $12, CR2 // Only sizes 10/12/14 are supported.
    
    	// Setup key in VSRs, and set loop count in CTR.
    	LOAD_KEY(KEYP)
    	SRD	$4, LEN
    	MOVD	LEN, CTR
    
    	BEQ	Lcbc_dec
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CMP", argLength: 2, reg: gp2cr, asm: "CMP", typ: "Flags"},     // arg0 compare to arg1
    		{name: "CMPU", argLength: 2, reg: gp2cr, asm: "CMPU", typ: "Flags"},   // arg0 compare to arg1
    		{name: "CMPW", argLength: 2, reg: gp2cr, asm: "CMPW", typ: "Flags"},   // arg0 compare to arg1
    		{name: "CMPWU", argLength: 2, reg: gp2cr, asm: "CMPWU", typ: "Flags"}, // arg0 compare to arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    }
    func rewriteValueARM64latelower_OpARM64CMPWconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPWconst [c] x)
    	// cond: !isARM64addcon(int64(c))
    	// result: (CMPW x (MOVDconst [int64(c)]))
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(int64(c))) {
    			break
    		}
    		v.reset(OpARM64CMPW)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	CMN R6, R3                                 // 7f0006ab
    	CMNW R30, R5                               // bf001e2b
    	CMNW $2, R5                                // bf080031
    	CMN ZR, R3                                 // 7f001fab
    	CMN R0, R3                                 // 7f0000ab
    	CMPW R6.UXTB, R23                          // ff02266b
    	CMP R25.SXTH<<2, R26                       // 5fab39eb
    	CMP $3817, R29                             // bfa73bf1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 01:11:41 UTC 2023
    - 43.9K bytes
    - Viewed (0)
Back to top