Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cmpw (0.13 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/asm/internal/asm/asm.go

    				prog.To = a[2]
    			}
    		case sys.I386:
    			prog.From = a[0]
    			prog.AddRestSource(a[1])
    			prog.To = a[2]
    		case sys.PPC64:
    			if arch.IsPPC64CMP(op) {
    				// CMPW etc.; third argument is a CR register that goes into prog.Reg.
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[2])
    				prog.To = a[1]
    				break
    			}
    
    			prog.From = a[0]
    			prog.To = a[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. pkg/slices/slices_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package slices
    
    import (
    	"cmp"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"strconv"
    	"testing"
    
    	cmp2 "github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tests/util/leak"
    )
    
    type s struct {
    	Junk string
    }
    
    func TestEqual(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/a.out.go

    	AFRIPCC
    	AFRIZ
    	AFRIZCC
    	AFRIN
    	AFRINCC
    	AFRSQRTE
    	AFRSQRTECC
    	AFSEL
    	AFSELCC
    	AFSQRT
    	AFSQRTCC
    	AFSQRTS
    	AFSQRTSCC
    
    	/* 64-bit */
    
    	ACNTLZD
    	ACNTLZDCC
    	ACMPW /* CMP with L=0 */
    	ACMPWU
    	ACMPB
    	AFTDIV
    	AFTSQRT
    	ADIVD
    	ADIVDCC
    	ADIVDE
    	ADIVDECC
    	ADIVDEU
    	ADIVDEUCC
    	ADIVDVCC
    	ADIVDV
    	ADIVDU
    	ADIVDUCC
    	ADIVDUVCC
    	ADIVDUV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. src/crypto/sha256/sha256block_amd64.s

    	SHA256RNDS2		msg, state1, state0		\
    	sha256Msg1		(m,a)
    
    TEXT ·block(SB), 0, $536-32
    	CMPB	·useSHA(SB), $1
    	JE	sha_ni
    	CMPB	·useAVX2(SB), $1
    	JE	avx2
    
    	MOVQ p_base+8(FP), SI
    	MOVQ p_len+16(FP), DX
    	SHRQ $6, DX
    	SHLQ $6, DX
    
    	LEAQ (SI)(DX*1), DI
    	MOVQ DI, 256(SP)
    	CMPQ SI, DI
    	JEQ  end
    
    	MOVQ dig+0(FP), BP
    	MOVL (0*4)(BP), R8  // a = H0
    	MOVL (1*4)(BP), R9  // b = H1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top