Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BTSQ (0.02 sec)

  1. test/codegen/bits.go

    		return 1
    	}
    	// amd64:"BTL\t[$]0"
    	if a&0x1 != 0 {
    		return 1
    	}
    	return 0
    }
    
    func biton64(a, b uint64) (n uint64) {
    	// amd64:"BTSQ"
    	n += b | (1 << (a & 63))
    
    	// amd64:"BTSQ\t[$]63"
    	n += a | (1 << 63)
    
    	// amd64:"BTSQ\t[$]60"
    	n += a | (1 << 60)
    
    	// amd64:"ORQ\t[$]1"
    	n += a | (1 << 0)
    
    	return n
    }
    
    func bitoff64(a, b uint64) (n uint64) {
    	// amd64:"BTRQ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. test/codegen/math.go

    	// riscv64:"FABSD\t"
    	// wasm:"F64Abs"
    	// arm/6:"ABSD\t"
    	// mips64/hardfloat:"ABSD\t"
    	// mips/hardfloat:"ABSD\t"
    	sink64[0] = math.Abs(x)
    
    	// amd64:"BTRQ\t[$]63","PXOR"    (TODO: this should be BTSQ)
    	// s390x:"LNDFR\t",-"MOVD\t"     (no integer load/store)
    	// ppc64x:"FNABS\t"
    	sink64[1] = -math.Abs(y)
    }
    
    // Check that it's using integer registers
    func abs32(x float32) float32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top