From dd9d86ec515ca5f2b04938e4151bf4f0506805e1 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 8 Jun 2016 14:18:51 +0200 Subject: [PATCH] libgcc/ Backport from trunk r235291. 2016-04-20 Martin Galvan * config/arm/ieee754-df.S: Fix typos in comments. Change-Id: Ic13d425bda6728b0aba59509706a9baea5bbf629 --- libgcc/config/arm/ieee754-df.S | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libgcc/config/arm/ieee754-df.S b/libgcc/config/arm/ieee754-df.S index dd7ea70..a2aac70 100644 --- a/libgcc/config/arm/ieee754-df.S +++ b/libgcc/config/arm/ieee754-df.S @@ -160,8 +160,8 @@ ARM_FUNC_ALIAS aeabi_dadd adddf3 teq r4, r5 beq LSYM(Lad_d) -@ CFI note: we're lucky that the branches to Lad_* that appear after this function -@ have a CFI state that's exactly the same as the one we're in at this +@ CFI note: we're lucky that the branches to Lad_* that appear after this +@ function have a CFI state that's exactly the same as the one we're in at this @ point. Otherwise the CFI would change to a different state after the branch, @ which would be disastrous for backtracing. LSYM(Lad_x): @@ -1158,8 +1158,8 @@ ARM_FUNC_ALIAS eqdf2 cmpdf2 1: str ip, [sp, #-4]! .cfi_adjust_cfa_offset 4 @ CFA is now sp + previousOffset + 4. @ We're not adding CFI for ip as it's pushed into the stack - @ only because @ it may be popped off later as a return value - @ (i.e. we're not preserving @ it anyways). + @ only because it may be popped off later as a return value + @ (i.e. we're not preserving it anyways). @ Trap any INF/NAN first. mov ip, xh, lsl #1 @@ -1169,14 +1169,14 @@ ARM_FUNC_ALIAS eqdf2 cmpdf2 COND(mvn,s,ne) ip, ip, asr #21 beq 3f .cfi_remember_state - @ Save the current CFI state. This is done because the branch - @ is conditional, @ and if we don't take it we'll issue a - @ .cfi_adjust_cfa_offset and return. @ If we do take it, - @ however, the .cfi_adjust_cfa_offset from the non-branch @ code - @ will affect the branch code as well. To avoid this we'll - @ restore @ the current state before executing the branch code. - - @ Test for equality. @ Note that 0.0 is equal to -0.0. + @ Save the current CFI state. This is done because the branch + @ is conditional, and if we don't take it we'll issue a + @ .cfi_adjust_cfa_offset and return. If we do take it, + @ however, the .cfi_adjust_cfa_offset from the non-branch code + @ will affect the branch code as well. To avoid this we'll + @ restore the current state before executing the branch code. + + @ Test for equality. Note that 0.0 is equal to -0.0. 2: add sp, sp, #4 .cfi_adjust_cfa_offset -4 @ CFA is now sp + previousOffset. -- 2.7.4