Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doubleRotate (0.13 sec)

  1. test/codegen/rotate.go

    	a += x>>z | x<<(8-z)
    
    	return a
    }
    
    // Issue 18254: rotate after inlining
    func f32(x uint32) uint32 {
    	// amd64:"ROLL\t[$]7"
    	return rot32nc(x, 7)
    }
    
    func doubleRotate(x uint64) uint64 {
    	x = (x << 5) | (x >> 59)
    	// amd64:"ROLQ\t[$]15"
    	// arm64:"ROR\t[$]49"
    	x = (x << 10) | (x >> 54)
    	return x
    }
    
    // --------------------------------------- //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top