ARM64: Convert all labels to local labels

While debugging/profiling applications using perf or other tools, the
kernels appear scattered in the profile reports. This is because the labels
within the kernels are not local and each label is shown as a separate
function.

To avoid this, all the labels within the kernels are changed to local
labels.
This commit is contained in:
Ashwin Sekhar T K
2017-10-24 10:47:11 +00:00
parent 627133f9ad
commit a0128aa489
50 changed files with 4469 additions and 4469 deletions

View File

@@ -122,52 +122,52 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
cmp N, xzr
ble asum_kernel_L999
ble .Lasum_kernel_L999
cmp INC_X, xzr
ble asum_kernel_L999
ble .Lasum_kernel_L999
cmp INC_X, #1
bne asum_kernel_S_BEGIN
bne .Lasum_kernel_S_BEGIN
asum_kernel_F_BEGIN:
.Lasum_kernel_F_BEGIN:
asr I, N, #3
cmp I, xzr
beq asum_kernel_F1
beq .Lasum_kernel_F1
asum_kernel_F8:
.Lasum_kernel_F8:
KERNEL_F8
subs I, I, #1
bne asum_kernel_F8
bne .Lasum_kernel_F8
KERNEL_F8_FINALIZE
asum_kernel_F1:
.Lasum_kernel_F1:
ands I, N, #7
ble asum_kernel_L999
ble .Lasum_kernel_L999
asum_kernel_F10:
.Lasum_kernel_F10:
KERNEL_F1
subs I, I, #1
bne asum_kernel_F10
bne .Lasum_kernel_F10
asum_kernel_L999:
.Lasum_kernel_L999:
ret
asum_kernel_S_BEGIN:
.Lasum_kernel_S_BEGIN:
INIT_S
asr I, N, #2
cmp I, xzr
ble asum_kernel_S1
ble .Lasum_kernel_S1
asum_kernel_S4:
.Lasum_kernel_S4:
KERNEL_S1
KERNEL_S1
@@ -175,19 +175,19 @@ asum_kernel_S4:
KERNEL_S1
subs I, I, #1
bne asum_kernel_S4
bne .Lasum_kernel_S4
asum_kernel_S1:
.Lasum_kernel_S1:
ands I, N, #3
ble asum_kernel_L999
ble .Lasum_kernel_L999
asum_kernel_S10:
.Lasum_kernel_S10:
KERNEL_S1
subs I, I, #1
bne asum_kernel_S10
bne .Lasum_kernel_S10
ret