Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MNEG (0.11 sec)

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

    // mneg by constant
    (MNEG x (MOVDconst [-1])) => x
    (MNEG _ (MOVDconst [0])) => (MOVDconst [0])
    (MNEG x (MOVDconst [1])) => (NEG x)
    (MNEG x (MOVDconst [c])) && isPowerOfTwo64(c) => (NEG (SLLconst <x.Type> [log64(c)] x))
    (MNEG x (MOVDconst [c])) && isPowerOfTwo64(c-1) && c >= 3 => (NEG (ADDshiftLL <x.Type> x x [log64(c-1)]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "MULW", argLength: 2, reg: gp21, asm: "MULW", commutative: true},                                       // arg0 * arg1, 32-bit
    		{name: "MNEG", argLength: 2, reg: gp21, asm: "MNEG", commutative: true},                                       // -arg0 * arg1
    		{name: "MNEGW", argLength: 2, reg: gp21, asm: "MNEGW", commutative: true},                                     // -arg0 * arg1, 32-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (MNEG x (MOVDconst [-1]))
    	// result: x
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpARM64MOVDconst || auxIntToInt64(v_1.AuxInt) != -1 {
    				continue
    			}
    			v.copyOf(x)
    			return true
    		}
    		break
    	}
    	// match: (MNEG _ (MOVDconst [0]))
    	// result: (MOVDconst [0])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/asm7.go

    			rel := obj.Addrel(c.cursym)
    
    			rel.Off = int32(c.pc)
    			rel.Siz = 4
    			rel.Sym = p.To.Sym
    			rel.Add = p.To.Offset
    			rel.Type = objabi.R_ADDR
    			o1 = 0
    		}
    
    	case 15: /* mul/mneg/umulh/umull r,[r,]r; madd/msub/fmadd/fmsub/fnmadd/fnmsub Rm,Ra,Rn,Rd */
    		o1 = c.oprrr(p, p.As)
    
    		rf := int(p.From.Reg)
    		rt := int(p.To.Reg)
    		var r int
    		var ra int
    		if p.From3Type() == obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 670826495}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 R30
    			},
    		},
    	},
    	{
    		name:        "MNEG",
    		argLen:      2,
    		commutative: true,
    		asm:         arm64.AMNEG,
    		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