Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HMUL (0.03 sec)

  1. src/cmd/compile/internal/ssa/config.go

    	useSSE         bool        // Use SSE for non-float operations
    	useAvg         bool        // Use optimizations that need Avg* operations
    	useHmul        bool        // Use optimizations that need Hmul* operations
    	SoftFloat      bool        //
    	Race           bool        // race detector enabled
    	BigEndian      bool        //
    	UseFMA         bool        // Use hardware FMA operation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/x86/ssa.go

    				n.To.Reg = x86.REG_DX
    			}
    
    			j.To.SetTarget(n)
    			j2.To.SetTarget(s.Pc())
    		}
    
    	case ssa.Op386HMULL, ssa.Op386HMULLU:
    		// the frontend rewrites constant division by 8/16/32 bit integers into
    		// HMUL by a constant
    		// SSA rewrites generate the 64 bit versions
    
    		// Arg[0] is already in AX as it's the only register we allow
    		// and DX is the only output we care about (the high bits)
    		p := s.Prog(v.Op.Asm())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "RSBconst", argLength: 1, reg: gp11, asm: "RSB", aux: "Int32"},     // auxInt - arg0
    		{name: "MUL", argLength: 2, reg: gp21, asm: "MUL", commutative: true},     // arg0 * arg1
    		{name: "HMUL", argLength: 2, reg: gp21, asm: "MULL", commutative: true},   // (arg0 * arg1) >> 32, signed
    		{name: "HMULU", argLength: 2, reg: gp21, asm: "MULLU", commutative: true}, // (arg0 * arg1) >> 32, unsigned
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/mop_test.go

    		y = z
    		ch <- 1
    	}()
    	<-ch
    	<-ch
    }
    
    func TestRaceDivConst(t *testing.T) {
    	var x, y, z uint32
    	_ = x
    	ch := make(chan int, 2)
    
    	go func() {
    		x = y / 3 // involves only a HMUL node
    		ch <- 1
    	}()
    	go func() {
    		y = z
    		ch <- 1
    	}()
    	<-ch
    	<-ch
    }
    
    func TestRaceMod(t *testing.T) {
    	var x, y, z int
    	_ = x
    	ch := make(chan int, 2)
    
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 16:46:25 UTC 2023
    - 28.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Select1 (Sub32carry <t> x y)) => (SGTU <typ.Bool> (SUB <t.FieldType(0)> x y) x)
    (Sub32withcarry <t> x y c) => (SUB (SUB <t> x y) c)
    
    (Mul(32|16|8) ...) => (MUL ...)
    (Mul(32|64)F ...) => (MUL(F|D) ...)
    
    (Hmul(32|32u) x y) => (Select0 (MUL(T|TU) x y))
    (Mul32uhilo ...) => (MULTU ...)
    
    (Div32 x y) => (Select1 (DIV x y))
    (Div32u x y) => (Select1 (DIVU x y))
    (Div16 x y) => (Select1 (DIV (SignExt16to32 x) (SignExt16to32 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)
Back to top