Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CMOVZzero (0.17 sec)

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

    (GEZ (MOVWconst [c]) yes no) && c <  0 => (First no yes)
    
    // conditional move
    (CMOVZ _ f (MOVWconst [0])) => f
    (CMOVZ a _ (MOVWconst [c])) && c!=0 => a
    (CMOVZzero _ (MOVWconst [0])) => (MOVWconst [0])
    (CMOVZzero a (MOVWconst [c])) && c!=0 => a
    (CMOVZ a (MOVWconst [0]) c) => (CMOVZzero a c)
    
    // atomic
    (LoweredAtomicStore32 ptr (MOVWconst [0]) mem) => (LoweredAtomicStorezero ptr mem)
    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/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)
  3. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (CMOVZzero _ (MOVWconst [0]))
    	// result: (MOVWconst [0])
    	for {
    		if v_1.Op != OpMIPSMOVWconst || auxIntToInt32(v_1.AuxInt) != 0 {
    			break
    		}
    		v.reset(OpMIPSMOVWconst)
    		v.AuxInt = int32ToAuxInt(0)
    		return true
    	}
    	// match: (CMOVZzero 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)
  4. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 335544318}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 R31
    			},
    		},
    	},
    	{
    		name:         "CMOVZzero",
    		argLen:       2,
    		resultInArg0: true,
    		asm:          mips.ACMOVZ,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top