- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for UDIV (0.04 sec)
-
test/codegen/arithmetic.go
// amd64:"TESTQ\t[$]63",-"DIVQ",-"SHRQ" // arm:"AND\t[$]63",-".*udiv",-"SRA" // 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"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:28:00 UTC 2024 - 15.2K bytes - Viewed (0) -
test/divmod.go
return } q, r := udiv(x, y) q1 := x/y r1 := x%y if q1 != q { print("uint64(", x, "/", y, ") = ", q1, ", want ", q, "\n") } if r1 != r { print("uint64(", x, "%", y, ") = ", r1, ", want ", r, "\n") } } func checkuint32(x, y uint32) { if y == 0 { divzerouint32(x, y) modzerouint32(x, y) return } q, r := udiv(uint64(x), uint64(y)) q1 := x/y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 9.3K bytes - Viewed (0) -
src/runtime/stubs_arm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import "unsafe" // Called from compiler-generated code; declared for go vet. func udiv() func _div() func _divu() func _mod() func _modu() // Called from assembly only; declared for go vet. func usplitR0() func load_g() func save_g() func emptyfunc() func _initcgo()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 10:04:13 UTC 2023 - 689 bytes - Viewed (0) -
src/cmd/compile/internal/ir/symtab.go
Racewriterange *obj.LSym TypeAssert *obj.LSym WBZero *obj.LSym WBMove *obj.LSym // Wasm SigPanic *obj.LSym Staticuint64s *obj.LSym Typedmemmove *obj.LSym Udiv *obj.LSym WriteBarrier *obj.LSym Zerobase *obj.LSym ARM64HasATOMICS *obj.LSym ARMHasVFPv4 *obj.LSym X86HasFMA *obj.LSym X86HasPOPCNT *obj.LSym X86HasSSE41 *obj.LSym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:26 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/anames.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 01:40:37 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/vlop_arm.s
// It's not strictly true that there are no local pointers. // It could be that the saved registers Rq, Rr, Rs, and Rm // contain pointers. However, the only way this can matter // is if the stack grows (which it can't, udiv is nosplit) // or if a fault happens and more frames are added to // the stack due to deferred functions. // In the latter case, the stack can grow arbitrarily, // and garbage collection can happen, and those
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 04 07:25:06 UTC 2020 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/tables.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 17:57:48 UTC 2017 - 267.4K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm64.s
NEG R0, R0 // caller expects negative errno ok: MOVW R0, ret+24(FP) RET // func usleep(usec uint32) TEXT runtimeĀ·usleep(SB),NOSPLIT,$24-4 MOVWU usec+0(FP), R3 MOVD R3, R5 MOVW $1000000, R4 UDIV R4, R3 MOVD R3, 8(RSP) MUL R3, R4 SUB R4, R5 MOVW $1000, R4 MUL R4, R5 MOVD R5, 16(RSP) // nanosleep(&ts, 0) ADD $8, RSP, R0 MOVD $0, R1 MOVD $SYS_nanosleep, R8 SVC RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64.rules
// UDIV and MSUB instructions. But if there is already an identical UDIV instruction just before or // after UREM (case like quo, rem := z/y, z%y), then the second UDIV instruction becomes redundant. // The purpose of this rule is to have this extra UDIV instruction removed in CSE pass. (UMOD <typ.UInt64> x y) => (MSUB <typ.UInt64> x y (UDIV <typ.UInt64> x y))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 113.1K bytes - Viewed (0) -
src/runtime/sys_netbsd_arm64.s
SVC $SYS_write BCC ok NEG R0, R0 ok: MOVW R0, ret+24(FP) RET TEXT runtimeĀ·usleep(SB),NOSPLIT,$24-4 MOVWU usec+0(FP), R3 MOVD R3, R5 MOVW $1000000, R4 UDIV R4, R3 MOVD R3, 8(RSP) // sec MUL R3, R4 SUB R4, R5 MOVW $1000, R4 MUL R4, R5 MOVD R5, 16(RSP) // nsec MOVD $8(RSP), R0 // arg 1 - rqtp MOVD $0, R1 // arg 2 - rmtp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0)