- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 77 for cmp1 (0.04 sec)
-
src/internal/bytealg/count_ppc64x.s
#else tail: // Count the last 0 - 31 bytes. CMP R4, $16 BLT tail_8 MOVD (R3), R12 MOVD 8(R3), R14 CMPB R12, R5, R12 CMPB R14, R5, R14 POPCNTD R12, R12 POPCNTD R14, R14 ADD R12, R18, R18 ADD R14, R18, R18 ADD $16, R3, R3 ADD $-16, R4, R4 tail_8: // Count the remaining 0 - 15 bytes. CMP R4, $8 BLT tail_4 MOVD (R3), R12 CMPB R12, R5, R12 POPCNTD R12, R12 ADD R12, R18, R18
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 20:30:44 UTC 2023 - 3.6K bytes - Viewed (0) -
src/internal/bytealg/equal_amd64.s
// b in DI // count in BX // Output: // result in AX TEXT memeqbody<>(SB),NOSPLIT,$0-0 CMPQ BX, $8 JB small CMPQ BX, $64 JB bigloop #ifndef hasAVX2 CMPB internal∕cpu·X86+const_offsetX86HasAVX2(SB), $1 JE hugeloop_avx2 // 64 bytes at a time using xmm registers PCALIGN $16 hugeloop: CMPQ BX, $64 JB bigloop MOVOU (SI), X0 MOVOU (DI), X1 MOVOU 16(SI), X2 MOVOU 16(DI), X3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:34:40 UTC 2023 - 2.8K bytes - Viewed (0) -
src/internal/bytealg/compare_386.s
XORL DX, DX MOVB (SI)(BX*1), CX CMPB CX, (DI)(BX*1) SETHI DX LEAL -1(DX*2), DX // convert 1/0 to +1/-1 MOVL DX, (AX) RET mediumloop: CMPL BP, $4 JBE _0through4 MOVL (SI), BX MOVL (DI), CX CMPL BX, CX JNE diff4 ADDL $4, SI ADDL $4, DI SUBL $4, BP JMP mediumloop _0through4: MOVL -4(SI)(BP*1), BX MOVL -4(DI)(BP*1), CX CMPL BX, CX JEQ allsame diff4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 23 21:22:58 UTC 2021 - 2.6K bytes - Viewed (0) -
src/internal/bytealg/compare_amd64.s
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 #else JMP big_loop_avx2 #endif loop: CMPQ R8, $16 JBE _0through16 MOVOU (SI), X0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:17:01 UTC 2022 - 4.3K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
t.Fatalf("Child's process group is not the child's process ID") } } func TestPgid(t *testing.T) { ppid, ppgrp := parent() cmd1 := create(t) cmd1.proc.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} cmd1.Start() defer cmd1.Stop() cpid1, cpgrp1 := cmd1.Info() if cpid1 == ppid { t.Fatalf("Parent and child 1 have the same process ID") } if cpgrp1 == ppgrp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
TEXT runtime·asmstdcall(SB),NOSPLIT,$0 MOVL fn+0(FP), BX MOVL SP, BP // save stack pointer // SetLastError(0). MOVL $0, 0x34(FS) MOVL libcall_n(BX), CX // Fast version, do not store args on the stack. CMPL CX, $0 JE docall // Copy args to the stack. MOVL CX, AX SALL $2, AX SUBL AX, SP // room for args MOVL SP, DI MOVL libcall_args(BX), SI CLD REP; MOVSL docall:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
test/fixedbugs/issue5841.go
// build // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 5841: 8g produces invalid CMPL $0, $0. // Similar to issue 5002, used to fail at link time. package main func main() { var y int if y%1 == 0 { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 331 bytes - Viewed (0) -
src/cmd/go/internal/generate/generate_test.go
os.Unsetenv("_Z") inLine = "//go:generate -command CMD1 \"ab${_Z}cd\"" expected = []string{"-command", "CMD1", "abcd"} got = g.split(inLine + "\n") if !reflect.DeepEqual(got, expected) { t.Errorf("split(%q): got %q expected %q", inLine, got, expected) } g.setShorthand(got) inLine = "//go:generate CMD1" expected = []string{"abcd"} got = g.split(inLine + "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 14:09:12 UTC 2022 - 7.4K bytes - Viewed (0) -
src/internal/bytealg/count_amd64.s
#include "textflag.h" TEXT ·Count(SB),NOSPLIT,$0-40 #ifndef hasPOPCNT CMPB internal∕cpu·X86+const_offsetX86HasPOPCNT(SB), $1 JEQ 2(PC) JMP ·countGeneric(SB) #endif MOVQ b_base+0(FP), SI MOVQ b_len+8(FP), BX MOVB c+24(FP), AL LEAQ ret+32(FP), R8 JMP countbody<>(SB) TEXT ·CountString(SB),NOSPLIT,$0-32 #ifndef hasPOPCNT CMPB internal∕cpu·X86+const_offsetX86HasPOPCNT(SB), $1 JEQ 2(PC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:54:43 UTC 2023 - 4.7K bytes - Viewed (0) -
src/runtime/memclr_amd64.s
TESTQ BX, BX JEQ _0 CMPQ BX, $2 JBE _1or2 CMPQ BX, $4 JBE _3or4 CMPQ BX, $8 JB _5through7 JE _8 CMPQ BX, $16 JBE _9through16 CMPQ BX, $32 JBE _17through32 CMPQ BX, $64 JBE _33through64 CMPQ BX, $128 JBE _65through128 CMPQ BX, $256 JBE _129through256 CMPB internal∕cpu·X86+const_offsetX86HasERMS(SB), $1 // enhanced REP MOVSB/STOSB
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:52:34 UTC 2022 - 4.9K bytes - Viewed (0)