- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for CMPL (0.05 sec)
-
src/cmd/compile/internal/walk/compare.go
inline = compare.EqStructCost(t) <= 4 } cmpl := n.X for cmpl != nil && cmpl.Op() == ir.OCONVNOP { cmpl = cmpl.(*ir.ConvExpr).X } cmpr := n.Y for cmpr != nil && cmpr.Op() == ir.OCONVNOP { cmpr = cmpr.(*ir.ConvExpr).X } // Chose not to inline. Call equality function directly. if !inline { // eq algs take pointers; cmpl and cmpr must be addressable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
src/runtime/sys_openbsd_386.s
MOVL DX, (2*4)(SP) // a3 MOVL (0*4)(BX), AX // fn CALL AX MOVL AX, (4*4)(BX) // r1 MOVL DX, (5*4)(BX) // r2 // Standard libc functions return -1 on error and set errno. CMPL AX, $-1 JNE ok CMPL DX, $-1 JNE ok // Get error code from libc. CALL libc_errno(SB) MOVL (AX), AX MOVW AX, (6*4)(BX) // err ok: MOVL $0, AX // no error (it's ignored anyway) MOVL BP, SP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 20.4K bytes - Viewed (0) -
src/runtime/sys_linux_386.s
MOVL $SYS_open, AX MOVL name+0(FP), BX MOVL mode+4(FP), CX MOVL perm+8(FP), DX INVOKE_SYSCALL CMPL AX, $0xfffff001 JLS 2(PC) MOVL $-1, AX MOVL AX, ret+12(FP) RET TEXT runtime·closefd(SB),NOSPLIT,$0 MOVL $SYS_close, AX MOVL fd+0(FP), BX INVOKE_SYSCALL CMPL AX, $0xfffff001 JLS 2(PC) MOVL $-1, AX MOVL AX, ret+4(FP) RET TEXT runtime·write1(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 17.9K bytes - Viewed (0) -
src/runtime/asm_386.s
MOVL $1, 0(SP) CALL runtime·exit(SB) CALL runtime·abort(SB) has_cpuid: MOVL $0, AX CPUID MOVL AX, SI CMPL AX, $0 JE nocpuinfo CMPL BX, $0x756E6547 // "Genu" JNE notintel CMPL DX, $0x49656E69 // "ineI" JNE notintel CMPL CX, $0x6C65746E // "ntel" JNE notintel MOVB $1, runtime·isIntel(SB) notintel: // Load EAX=1 cpuid flags MOVL $1, AX CPUID
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 15:45:13 UTC 2024 - 43.1K bytes - Viewed (0) -
test/codegen/comparisons.go
// ppc64le:-`MOVBZ\t` // s390x:-`MOVBZ\t` return a == b } func CompareArray2(a, b [3]uint16) bool { // amd64:`CMPL\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]` // amd64:`CMPW\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]` return a == b } func CompareArray3(a, b [3]int16) bool { // amd64:`CMPL\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]` // amd64:`CMPW\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]` return a == b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 16:31:02 UTC 2024 - 15.2K bytes - Viewed (0) -
src/runtime/sys_openbsd_amd64.s
MOVQ 8(DI), SI // arg 2 keventt MOVL 16(DI), DX // arg 3 nch MOVQ 24(DI), CX // arg 4 ev MOVL 32(DI), R8 // arg 5 nev MOVQ 40(DI), R9 // arg 6 ts MOVL 0(DI), DI // arg 1 kq CALL libc_kevent(SB) CMPL AX, $-1 JNE ok CALL libc_errno(SB) MOVL (AX), AX // errno NEGL AX // caller expects negative errno value ok: RET TEXT runtime·clock_gettime_trampoline(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/386Ops.go
}, faultOnNilArg0: true, faultOnNilArg1: true, }, // (InvertFlags (CMPL a b)) == (CMPL b a) // So if we want (SETL (CMPL a b)) but we can't do that because a is a constant, // then we do (SETL (InvertFlags (CMPL b a))) instead. // Rewrites will convert this to (SETG (CMPL b a)). // InvertFlags is a pseudo-op which can't appear in assembly output.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 14 08:10:32 UTC 2023 - 45.1K bytes - Viewed (0) -
src/runtime/sys_darwin_amd64.s
MOVQ _cgo_callers(SB), AX JMP AX sigtramp: JMP runtime·sigtramp(SB) sigtrampnog: // Signal arrived on a non-Go thread. If this is SIGPROF, get a // stack trace. CMPL DI, $27 // 27 == SIGPROF JNZ sigtramp // Lock sigprofCallersUse. MOVL $0, AX MOVL $1, CX MOVQ $runtime·sigprofCallersUse(SB), R11 LOCK CMPXCHGL CX, 0(R11)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 19.7K bytes - Viewed (0) -
test/codegen/memops.go
if t.x16 == 7 { return 1 } // amd64:`CMPL\t.*\(SP\), [$]7` if t.x32 == 7 { return 1 } // amd64:`CMPQ\t.*\(SP\), [$]7` if t.x64 == 7 { return 1 } return 0 } func compMem3(x, y *int) (int, bool) { // We can do comparisons of a register with memory even if // the register is used subsequently. r := *x // amd64:`CMPQ\t\(` // 386:`CMPL\t\(` return r, r < *y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 16:40:24 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64splitload.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 21.4K bytes - Viewed (0)