Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cmovz (0.04 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Rsh32Ux32 <t> x y) => (CMOVZ (SRL <t> x y) (MOVWconst [0]) (SGTUconst [32] y))
    (Rsh32Ux16 <t> x y) => (CMOVZ (SRL <t> x (ZeroExt16to32 y) ) (MOVWconst [0]) (SGTUconst [32] (ZeroExt16to32 y)))
    (Rsh32Ux8 <t> x y)  => (CMOVZ (SRL <t> x (ZeroExt8to32 y) ) (MOVWconst [0]) (SGTUconst [32] (ZeroExt8to32 y)))
    
    (Rsh16Ux32 <t> x y) => (CMOVZ (SRL <t> (ZeroExt16to32 x) y) (MOVWconst [0]) (SGTUconst [32] y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_mipsx.s

    	MOVW	b_len+16(FP), R2
    	BEQ	R3, R4, samebytes
    	SGTU	R1, R2, R7
    	MOVW	R1, R8
    	CMOVN	R7, R2, R8	// R8 is min(R1, R2)
    
    	ADDU	R3, R8	// R3 is current byte in a, R8 is last byte in a to compare
    loop:
    	BEQ	R3, R8, samebytes
    
    	MOVBU	(R3), R6
    	ADDU	$1, R3
    	MOVBU	(R4), R7
    	ADDU	$1, R4
    	BEQ	R6, R7 , loop
    
    	SGTU	R6, R7, R8
    	MOVW	$-1, R6
    	CMOVZ	R8, R6, R8
    	JMP	cmp_ret
    samebytes:
    	SGTU	R1, R2, R6
    	SGTU	R2, R1, R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/mips/anames.go

    	"ADDF",
    	"ADDU",
    	"ADDW",
    	"AND",
    	"BEQ",
    	"BFPF",
    	"BFPT",
    	"BGEZ",
    	"BGEZAL",
    	"BGTZ",
    	"BLEZ",
    	"BLTZ",
    	"BLTZAL",
    	"BNE",
    	"BREAK",
    	"CLO",
    	"CLZ",
    	"CMOVF",
    	"CMOVN",
    	"CMOVT",
    	"CMOVZ",
    	"CMPEQD",
    	"CMPEQF",
    	"CMPGED",
    	"CMPGEF",
    	"CMPGTD",
    	"CMPGTF",
    	"DIV",
    	"DIVD",
    	"DIVF",
    	"DIVU",
    	"DIVW",
    	"GOK",
    	"LL",
    	"LLV",
    	"LUI",
    	"MADD",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (CMOVZ _ f (MOVWconst [0]))
    	// result: f
    	for {
    		f := v_1
    		if v_2.Op != OpMIPSMOVWconst || auxIntToInt32(v_2.AuxInt) != 0 {
    			break
    		}
    		v.copyOf(f)
    		return true
    	}
    	// match: (CMOVZ a _ (MOVWconst [c]))
    	// cond: c!=0
    	// result: a
    	for {
    		a := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		// order of parameters is reversed so we can use resultInArg0 (OpCMOVZ result arg1 arg2-> CMOVZ arg2reg, arg1reg, resultReg)
    		{name: "CMOVZ", argLength: 3, reg: gp31, asm: "CMOVZ", resultInArg0: true},
    		{name: "CMOVZzero", argLength: 2, reg: regInfo{inputs: []regMask{gp, gpg}, outputs: []regMask{gp}}, asm: "CMOVZ", resultInArg0: true},
    
    		{name: "MOVWF", argLength: 1, reg: fp11, asm: "MOVWF"},     // int32 -> float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/mips.s

    	//	}
    	NOP	$4
    
    	//
    	// special
    	//
    	SYSCALL
    	BREAK
    	SYNC
    
    	//
    	// conditional move on zero/nonzero gp value
    	//
    	CMOVN	R1, R2, R3
    	CMOVZ	R1, R2, R3
    
    	//
    	// conditional move on fp false/true
    	//
    	CMOVF	R1, R2
    	CMOVT	R1, R2
    
    	//
    	// conditional traps
    	//
    	TEQ	$1, R1, R2
    	TEQ	$1, R1
    
    
    	//
    	// other
    	//
    	CLO	R1, R2
    	SQRTD	F0, F1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/intel.go

    	SETAE:     "setnb",
    	SETA:      "setnbe",
    	SETGE:     "setnl",
    	SETNE:     "setnz",
    	SETG:      "setnle",
    	SETE:      "setz",
    	CMOVAE:    "cmovnb",
    	CMOVA:     "cmovnbe",
    	CMOVGE:    "cmovnl",
    	CMOVNE:    "cmovnz",
    	CMOVG:     "cmovnle",
    	CMOVE:     "cmovz",
    	LCALL:     "call far",
    	LJMP:      "jmp far",
    	LRET:      "ret far",
    	ICEBP:     "int1",
    	MOVSD_XMM: "movsd",
    	XLATB:     "xlat",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 11.7K bytes
    - Viewed (0)
  8. test/codegen/condmove.go

    	return a
    }
    
    // Floating point CMOVs are not supported by amd64/arm64/ppc64x
    func cmovfloatmove(x, y int) float64 {
    	a := 1.0
    	if x <= y {
    		a = 2.0
    	}
    	// amd64:-"CMOV"
    	// arm64:-"CSEL"
    	// ppc64x:-"ISEL"
    	// wasm:-"Select"
    	return a
    }
    
    // On amd64, the following patterns trigger comparison inversion.
    // Test that we correctly invert the CMOV condition
    var gsink int64
    var gusink uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/x86/x86asm/tables.go

    	CLI:             "CLI",
    	CLTS:            "CLTS",
    	CMC:             "CMC",
    	CMOVA:           "CMOVA",
    	CMOVAE:          "CMOVAE",
    	CMOVB:           "CMOVB",
    	CMOVBE:          "CMOVBE",
    	CMOVE:           "CMOVE",
    	CMOVG:           "CMOVG",
    	CMOVGE:          "CMOVGE",
    	CMOVL:           "CMOVL",
    	CMOVLE:          "CMOVLE",
    	CMOVNE:          "CMOVNE",
    	CMOVNO:          "CMOVNO",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 266.8K bytes
    - Viewed (0)
  10. test/codegen/spectre.go

    package codegen
    
    func IndexArray(x *[10]int, i int) int {
    	// amd64:`CMOVQCC`
    	return x[i]
    }
    
    func IndexString(x string, i int) byte {
    	// amd64:`CMOVQ(LS|CC)`
    	return x[i]
    }
    
    func IndexSlice(x []float64, i int) float64 {
    	// amd64:`CMOVQ(LS|CC)`
    	return x[i]
    }
    
    func SliceArray(x *[10]int, i, j int) []int {
    	// amd64:`CMOVQHI`
    	return x[i:j]
    }
    
    func SliceString(x string, i, j int) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 734 bytes
    - Viewed (0)
Back to top