id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
bminor/glibc:sysdeps/alpha/strncmp.S:3
.align 4 $a_loop: xor t0, t1, t2 # e0 : bne t2, $wordcmp # .. e1 (zdb) ldq_u t1, 8(a1) # e0 : ldq_u t0, 8(a0) # .. e1 : subq a2, 1, a2 # e0 : addq a1, 8, a1 # .. e1 : addq a0, 8, a0 # e0 : beq a2, $eoc # .. e1 : cmpbge zero, t1, t7 # e0 : beq t7, $a_loop # .. e1 : br $eos /* Alternate aligne...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncmp.S
81
140
bminor/glibc:sysdeps/alpha/strncmp.S:4
t0 == the first word of s1. t1 == the first word of s2. t3 == -1. t4 == misalignment of s1. t5 == misalignment of s2. t10 == misalignment of s1 end. */ .align 4 $unaligned: /* If s1 misalignment is larger than s2 misalignment, we need extra startup checks to avoid SEGV. */ subq a1, t4, a1 # ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncmp.S
121
180
bminor/glibc:sysdeps/alpha/strncmp.S:5
subq a3, 1, a3 $u_head_nl: extql t1, a1, t1 # create first s2 word mskqh t3, a0, t8 extqh t2, a1, t4 ornot t0, t8, t0 # kill s1 garbage or t1, t4, t1 # s2 word now complete cmpbge zero, t0, t7 # find eos in first s1 word ornot t1, t8, t1 # kill s2 garbage beq a2, $eoc subq a2, 1, a2 bne t7, $eos mskql t3, a1...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncmp.S
161
220
bminor/glibc:sysdeps/alpha/strncmp.S:6
subq a3, 1, a3 # .. e1 : extqh t2, a1, t1 # e0 : cmpbge zero, t0, t7 # .. e1 : eos in current s1 word or t1, t3, t1 # e0 : beq a2, $eoc # .. e1 : eoc in current s1 word subq a2, 1, a2 # e0 : cmpbge zero, t2, t4 # .. e1 : eos in s2[1] xor t0, t1, t3 # e0 : compare the words ev6_unop ev6_unop bne ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncmp.S
201
260
bminor/glibc:sysdeps/alpha/strncmp.S:7
On entry to this basic block: t0 == s1 word t1 == s2 word t7 == cmpbge mask containing the zero. */ .align 3 $eos: negq t7, t6 # create bytemask of valid data and t6, t7, t8 subq t8, 1, t6 or t6, t8, t7 zapnot t0, t7, t0 # kill the garbage zapnot t1, t7, t1 xor t0, t1, v0 # ... and compare beq v0...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncmp.S
241
277
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2018 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2017 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncmp.S:1
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncmp.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/alpha/strncmp.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2026 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:2
bne a2, $multiword # do we have full words left? .align 3 subq t8, 1, t2 # e0 : guess not subq t10, 1, t3 # .. e1 : or t2, t8, t2 # e0 : clear the bits between the last or t3, t10, t3 # .. e1 : written byte and the last byte in andnot t3, t2, t3 # e0 : COUNT zap t0, t3, t0 # e1 : stq_u t0, 0(a0) # ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/strncpy.S
41
86
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
30891f35fa7da832b66d80d0807610df361851f3
github
libc
https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2018 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2017 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strncpy.S:1
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strncpy.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/alpha/strncpy.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2026 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:2
and a1, 0xff, a1 # e0 : zero extend our test character mov zero, t6 # .. e1 : t6 is last match aligned addr sll a1, 8, t5 # e0 : replicate our test character mov zero, t7 # .. e1 : t7 is last match byte compare mask or t5, a1, a1 # e0 : ldq_u t0, 0(a0) # .. e1 : load first quadword sll a1, 16, t5 # e0 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/strrchr.S
41
100
bminor/glibc:sysdeps/alpha/strrchr.S:3
cmovne t3, t3, t7 # .. e1 : save it, if match found cmovne t3, v0, t6 # e0 : /* Locate the address of the last matched character */ /* Retain the early exit for the ev4 -- the ev5 mispredict penalty is 5 cycles -- the same as just falling through. */ beq t7, $retnull # .. e1 : and t7, 0xf0, t2 # e0 :...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/strrchr.S
81
110
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
65cc53fe7c6556b90159b8c3da1eb283792387db
github
libc
https://github.com/bminor/glibc/blob/65cc53fe7c6556b90159b8c3da1eb283792387db/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:2
and a1, 0xff, a1 # e0 : zero extend our test character mov zero, t6 # .. e1 : t6 is last match aligned addr sll a1, 8, t5 # e0 : replicate our test character mov zero, t7 # .. e1 : t7 is last match byte compare mask or t5, a1, a1 # e0 : ldq_u t0, 0(a0) # .. e1 : load first quadword sll a1, 16, t5 # e0 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/alpha/strrchr.S
41
100
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/strrchr.S:1
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/strrchr.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/alpha/strrchr.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2026 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:2
.set noat .set noreorder .text .type __stxcpy, @function .globl __stxcpy .usepv __stxcpy, no cfi_startproc cfi_return_column (t9) /* On entry to this basic block: t0 == the first destination word for masking back in t1 == the first source word. */ .align 3 stxcpy_aligned: /* Create the 1st output ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
41
100
bminor/glibc:sysdeps/alpha/stxcpy.S:3
t7 == the cmpbge mask that found it. */ $a_eos: negq t7, t6 # e0 : find low bit set and t7, t6, t8 # e1 (stall) /* For the sake of the cache, don't read a destination word if we're not going to need it. */ and t8, 0x80, t6 # e0 : bne t6, 1f # .. e1 (zdb) /* We're doing a partial word store and so ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
81
140
bminor/glibc:sysdeps/alpha/stxcpy.S:4
and cope. We have to be very careful about not reading too much and causing a SEGV. */ .align 3 $u_head: /* We know just enough now to be able to assemble the first full source word. We can still find a zero at the end of it that prevents us from outputting the whole thing. On entry to this basic ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
121
180
bminor/glibc:sysdeps/alpha/stxcpy.S:5
ldq_u t2, 8(a1) # .. e1 : read next high-order source word addq a1, 8, a1 # e0 : cmpbge zero, t2, t7 # .. e1 : nop # e0 : bne t7, $u_eos # .. e1 : /* Unaligned copy main loop. In order to avoid reading too much, the loop is structured to detect zeros in aligned source words. This has, unfortunate...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
161
220
bminor/glibc:sysdeps/alpha/stxcpy.S:6
$u_eos: extqh t2, a1, t1 # e0 : or t0, t1, t1 # e1 : first (partial) source word complete cmpbge zero, t1, t7 # e0 : is the null in this first bit? bne t7, $u_final # .. e1 (zdb) $u_late_head_exit: stq_u t1, 0(a0) # e0 : the null was in the high-order bits addq a0, 8, a0 # .. e1 : extql t2, a1, t1 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
201
260
bminor/glibc:sysdeps/alpha/stxcpy.S:7
and a0, 7, t4 # .. e1 : find dest misalignment and a1, 7, t5 # e0 : find src misalignment /* Conditionally load the first destination word and a bytemask with 0xff indicating that the destination byte is sacrosanct. */ mov zero, t0 # .. e1 : mov zero, t6 # e0 : beq t4, 1f # .. e1 : ldq_u t0, 0(a0) #...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
241
293
bminor/glibc:sysdeps/alpha/stxcpy.S:8
srl t8, t5, t8 # e0 : adjust final null return value zapnot t2, t7, t2 # .. e1 : prepare source word; mirror changes and t1, t2, t1 # e1 : to source validity mask extql t2, a1, t2 # .. e0 : extql t1, a1, t1 # e0 : andnot t0, t2, t0 # .. e1 : zero place for source to reside or t0, t1, t1 # e1 : and p...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxcpy.S
281
293
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
30891f35fa7da832b66d80d0807610df361851f3
github
libc
https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:2
.set noat .set noreorder .text .type __stxcpy, @function .globl __stxcpy .usepv __stxcpy, no cfi_startproc cfi_return_column (t9) /* On entry to this basic block: t0 == the first destination word for masking back in t1 == the first source word. */ .align 3 stxcpy_aligned: /* Create the 1st output ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
41
100
bminor/glibc:sysdeps/alpha/stxcpy.S:3
t1 == the source word containing the null t7 == the cmpbge mask that found it. */ $a_eos: negq t7, t6 # e0 : find low bit set and t7, t6, t8 # e1 (stall) /* For the sake of the cache, don't read a destination word if we're not going to need it. */ and t8, 0x80, t6 # e0 : bne t6, 1f # .. e1 (zdb)...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
81
140
bminor/glibc:sysdeps/alpha/stxcpy.S:4
/* The source and destination are not co-aligned. Align the destination and cope. We have to be very careful about not reading too much and causing a SEGV. */ .align 3 $u_head: /* We know just enough now to be able to assemble the first full source word. We can still find a zero at the end of it th...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
121
180
bminor/glibc:sysdeps/alpha/stxcpy.S:5
extql t2, a1, t0 # e0 : position ho-bits of lo word ldq_u t2, 8(a1) # .. e1 : read next high-order source word addq a1, 8, a1 # e0 : cmpbge zero, t2, t7 # .. e1 : nop # e0 : bne t7, $u_eos # .. e1 : /* Unaligned copy main loop. In order to avoid reading too much, the loop is structured to detect ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
161
220
bminor/glibc:sysdeps/alpha/stxcpy.S:6
t2 == the unshifted current source word. */ $u_eos: extqh t2, a1, t1 # e0 : or t0, t1, t1 # e1 : first (partial) source word complete cmpbge zero, t1, t7 # e0 : is the null in this first bit? bne t7, $u_final # .. e1 (zdb) $u_late_head_exit: stq_u t1, 0(a0) # e0 : the null was in the high-order bits...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
201
260
bminor/glibc:sysdeps/alpha/stxcpy.S:8
or t6, t8, t7 # e1 : srl t8, t5, t8 # e0 : adjust final null return value zapnot t2, t7, t2 # .. e1 : prepare source word; mirror changes and t1, t2, t1 # e1 : to source validity mask extql t2, a1, t2 # .. e0 : extql t1, a1, t1 # e0 : andnot t0, t2, t0 # .. e1 : zero place for source to reside or t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxcpy.S
281
294
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2018 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2017 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxcpy.S:1
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxcpy.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/alpha/stxcpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2026 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:2
Furthermore, v0, a3-a5, t11, and t12 are untouched. */ /* This is generally scheduled for the EV5, but should still be pretty good for the EV4 too. */ #include <sysdep.h> .set noat .set noreorder .text .type __stxncpy, @function .globl __stxncpy .usepv __stxncpy, no cfi_startproc cfi_return_column (t9...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
41
100
bminor/glibc:sysdeps/alpha/stxncpy.S:3
addq a0, 8, a0 # .. e1 : ldq_u t0, 0(a1) # e0 : addq a1, 8, a1 # .. e1 : subq a2, 1, a2 # e0 : cmpbge zero, t0, t7 # .. e1 (stall) beq a2, $a_eoc # e1 : beq t7, $a_loop # e1 : /* Take care of the final (partial) word store. At this point the end-of-count bit is set in t7 iff it applies. ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
81
140
bminor/glibc:sysdeps/alpha/stxncpy.S:4
.align 3 __stxncpy: /* Are source and destination co-aligned? */ lda t2, -1 xor a0, a1, t1 srl t2, 1, t2 and a0, 7, t0 # find dest misalignment cmovlt a2, t2, a2 # bound neg count to LONG_MAX and t1, 7, t1 addq a2, t0, a2 # bias count by dest misalignment subq a2, 1, a2 and a2, 7, t2 srl a2, 3, a2 # a2 ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
121
180
bminor/glibc:sysdeps/alpha/stxncpy.S:5
t1 == the shifted low bits of the first source word t6 == bytemask that is -1 in dest word bytes */ ldq_u t2, 8(a1) # e0 : load second src word addq a1, 8, a1 # .. e1 : mskql t0, a0, t0 # e0 : mask trailing garbage in dst extqh t2, a1, t4 # e0 : or t1, t4, t1 # e1 : first aligned src word complete...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
161
220
bminor/glibc:sysdeps/alpha/stxncpy.S:6
iteration out into the head and half into the tail, but it does prevent nastiness from accumulating in the very thing we want to run as fast as possible. On entry to this basic block: t0 == the shifted low-order bits from the current source word t1 == the shifted high-order bits from the previous s...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
201
260
bminor/glibc:sysdeps/alpha/stxncpy.S:7
stq_u t0, 0(a0) # e0 : the null was in the high-order bits addq a0, 8, a0 # .. e1 : subq a2, 1, a2 # e0 : $u_late_head_exit: extql t2, a1, t0 # e0 : cmpbge zero, t0, t7 # e0 : or t7, t10, t6 # e1 : cmoveq a2, t6, t7 # e0 : /* Take care of a final (probably partial) result word. On entry t...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
241
300
bminor/glibc:sysdeps/alpha/stxncpy.S:8
ldq_u t2, 8(a1) # e0 : load final src word nop # .. e1 : extqh t2, a1, t0 # e0 : extract high bits for last word or t1, t0, t1 # e1 : 1: cmpbge zero, t1, t7 mov t1, t0 $u_eocfin: # end-of-count, final word or t10, t7, t7 br $u_final /* Unaligned copy entry point. */ .align 3 $unaligned: ldq_u...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
281
340
bminor/glibc:sysdeps/alpha/stxncpy.S:9
mskqh t2, t5, t2 # e0 : begin src byte validity mask cmpbge zero, t1, t7 # .. e1 : is there a zero? extql t2, a1, t2 # e0 : or t7, t10, t5 # .. e1 : test for end-of-count too cmpbge zero, t2, t3 # e0 : cmoveq a2, t5, t7 # .. e1 : andnot t7, t3, t7 # e0 : beq t7, $u_head # .. e1 (zdb) /* At this poi...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/alpha/stxncpy.S
321
351
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
30891f35fa7da832b66d80d0807610df361851f3
github
libc
https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2021 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:2
Furthermore, v0, a3-a5, t11, and t12 are untouched. */ /* This is generally scheduled for the EV5, but should still be pretty good for the EV4 too. */ #include <sysdep.h> .set noat .set noreorder .text .type __stxncpy, @function .globl __stxncpy .usepv __stxncpy, no cfi_startproc cfi_return_column (t9...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
41
100
bminor/glibc:sysdeps/alpha/stxncpy.S:3
stq_u t0, 0(a0) # e0 : addq a0, 8, a0 # .. e1 : ldq_u t0, 0(a1) # e0 : addq a1, 8, a1 # .. e1 : subq a2, 1, a2 # e0 : cmpbge zero, t0, t7 # .. e1 (stall) beq a2, $a_eoc # e1 : beq t7, $a_loop # e1 : /* Take care of the final (partial) word store. At this point the end-of-count bit is s...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
81
140
bminor/glibc:sysdeps/alpha/stxncpy.S:4
br $a_eos .align 3 __stxncpy: /* Are source and destination co-aligned? */ lda t2, -1 xor a0, a1, t1 srl t2, 1, t2 and a0, 7, t0 # find dest misalignment cmovlt a2, t2, a2 # bound neg count to LONG_MAX and t1, 7, t1 addq a2, t0, a2 # bias count by dest misalignment subq a2, 1, a2 and a2, 7, t2 srl a2, ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
121
180
bminor/glibc:sysdeps/alpha/stxncpy.S:5
t0 == the first dest word, unmasked t1 == the shifted low bits of the first source word t6 == bytemask that is -1 in dest word bytes */ ldq_u t2, 8(a1) # e0 : load second src word addq a1, 8, a1 # .. e1 : mskql t0, a0, t0 # e0 : mask trailing garbage in dst extqh t2, a1, t4 # e0 : or t1, t4, t1 #...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
161
220
bminor/glibc:sysdeps/alpha/stxncpy.S:6
This has, unfortunately, effectively pulled half of a loop iteration out into the head and half into the tail, but it does prevent nastiness from accumulating in the very thing we want to run as fast as possible. On entry to this basic block: t0 == the shifted low-order bits from the current source...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
201
260
bminor/glibc:sysdeps/alpha/stxncpy.S:7
stq_u t0, 0(a0) # e0 : the null was in the high-order bits addq a0, 8, a0 # .. e1 : subq a2, 1, a2 # e0 : $u_late_head_exit: extql t2, a1, t0 # e0 : cmpbge zero, t0, t7 # e0 : or t7, t10, t6 # e1 : cmoveq a2, t6, t7 # e0 : /* Take care of a final (probably partial) result word. On entry t...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
241
300
bminor/glibc:sysdeps/alpha/stxncpy.S:8
ldq_u t2, 8(a1) # e0 : load final src word nop # .. e1 : extqh t2, a1, t0 # e0 : extract high bits for last word or t1, t0, t1 # e1 : 1: cmpbge zero, t1, t7 mov t1, t0 $u_eocfin: # end-of-count, final word or t10, t7, t7 br $u_final /* Unaligned copy entry point. */ .align 3 $unaligned: ldq_u...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
281
340
bminor/glibc:sysdeps/alpha/stxncpy.S:9
beq t8, $u_head # e1 : mskqh t2, t5, t2 # e0 : begin src byte validity mask cmpbge zero, t1, t7 # .. e1 : is there a zero? extql t2, a1, t2 # e0 : or t7, t10, t5 # .. e1 : test for end-of-count too cmpbge zero, t2, t3 # e0 : cmoveq a2, t5, t7 # .. e1 : andnot t7, t3, t7 # e0 : beq t7, $u_head # ...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/alpha/stxncpy.S
321
352
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2018 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2017 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/alpha/stxncpy.S
1
60
bminor/glibc:sysdeps/alpha/stxncpy.S:1
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
x86_64
gas-like
handwritten
bminor/glibc
sysdeps/alpha/stxncpy.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/alpha/stxncpy.S
1
60