Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for vsrad (0.04 sec)

  1. test/codegen/arithmetic.go

    	// arm64:"TST\t[$]63",-"UDIV",-"ASR",-"AND"
    	// ppc64x:"ANDCC",-"RLDICL",-"SRAD",-"CMP"
    	a := n1%64 == 0 // signed divisible
    
    	// 386:"TESTL\t[$]63",-"DIVL",-"SHRL"
    	// amd64:"TESTQ\t[$]63",-"DIVQ",-"SHRQ"
    	// arm:"AND\t[$]63",-".*udiv",-"SRA"
    	// arm64:"TST\t[$]63",-"UDIV",-"ASR",-"AND"
    	// ppc64x:"ANDCC",-"RLDICL",-"SRAD",-"CMP"
    	b := n2%64 != 0 // signed indivisible
    
    	return a, b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. test/codegen/shift.go

    	return uint64(v) >> 16
    }
    
    func rshConst64Ux64Overflow8(v uint8) uint64 {
    	// riscv64:"MOV\t\\$0,",-"SRL"
    	return uint64(v) >> 8
    }
    
    func rshConst64x64(v int64) int64 {
    	// ppc64x:"SRAD"
    	// riscv64:"SRAI\t",-"OR",-"SLTIU"
    	return v >> uint64(33)
    }
    
    func rshConst64x64Overflow32(v int32) int64 {
    	// riscv64:"SRAIW",-"SLLI",-"SRAI\t"
    	return int64(v) >> 32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "FMSUB", argLength: 3, reg: fp31, asm: "FMSUB"},   // arg0*arg1 - arg2
    		{name: "FMSUBS", argLength: 3, reg: fp31, asm: "FMSUBS"}, // arg0*arg1 - arg2
    
    		{name: "SRAD", argLength: 2, reg: gp21cxer, asm: "SRAD"}, // signed arg0 >> (arg1&127), 64 bit width (note: 127, not 63!)
    		{name: "SRAW", argLength: 2, reg: gp21cxer, asm: "SRAW"}, // signed arg0 >> (arg1&63), 32 bit width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. src/math/big/arith_ppc64x.s

    	ADD     $-2, R4, R16
    	PCALIGN $16
    loopback:
    	ADD     $-1, R8, R10
    	SLD     $3, R10
    	LXVD2X  (R6)(R10), VS32 // load x[i-1], x[i]
    	SLD     $3, R8, R12
    	LXVD2X  (R6)(R12), VS33 // load x[i], x[i+1]
    
    	VSRD    V0, V4, V3      // x[i-1]>>s, x[i]>>s
    	VSLD    V1, V2, V5      // x[i]<<ŝ, x[i+1]<<ŝ
    	VOR     V3, V5, V5      // Or(|) the two registers together
    	STXVD2X VS37, (R3)(R10) // store into z[i-1] and z[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top