- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cmovnle (0.19 sec)
-
test/codegen/condmove.go
func cmovinvert6(x, y uint64) uint64 { if x >= gusink { y = -y } // amd64:"CMOVQLS" return y } func cmovload(a []int, i int, b bool) int { if b { i++ } // See issue 26306 // amd64:-"CMOVQNE" return a[i] } func cmovstore(a []int, i int, b bool) { if b { i++ } // amd64:"CMOVQNE" a[i] = 7 } var r0, r1, r2, r3, r4, r5 int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:57:33 UTC 2023 - 6.2K bytes - Viewed (0) -
test/codegen/bmi.go
r = a } else { r = b } // amd64/v3:"CMOVQNE",-"TESTQ",-"CALL" return r * 2 // force return blocks joining } func isNotPowerOfTwoSelect32(x, a, b int32) int32 { var r int32 // amd64/v3:"BLSRL",-"TESTL",-"CALL" if isNotPowerOfTwo32(x) { r = a } else { r = b } // amd64/v3:"CMOVLNE",-"TESTL",-"CALL" return r * 2 // force return blocks joining }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 04:58:59 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/bytealg/compare_amd64.s
// input: // SI = a // DI = b // BX = alen // DX = blen // output: // AX = output (-1/0/1) TEXT cmpbody<>(SB),NOSPLIT,$0-0 CMPQ SI, DI JEQ allsame CMPQ BX, DX MOVQ DX, R8 CMOVQLT BX, R8 // R8 = min(alen, blen) = # of bytes to compare CMPQ R8, $8 JB small CMPQ R8, $63 JBE loop #ifndef hasAVX2 CMPB internal∕cpu·X86+const_offsetX86HasAVX2(SB), $1 JEQ big_loop_avx2 JMP big_loop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:17:01 UTC 2022 - 4.3K bytes - Viewed (0)