diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-06-08 14:18:51 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2016-06-14 14:47:57 +0200 |
commit | dd9d86ec515ca5f2b04938e4151bf4f0506805e1 (patch) | |
tree | 1bc9446297885d4ad75646001400c63a6541cf94 /libgcc | |
parent | b73018589e0e137866ae52519d0ecace2ea451c3 (diff) |
libgcc/
Backport from trunk r235291.
2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
* config/arm/ieee754-df.S: Fix typos in comments.
Change-Id: Ic13d425bda6728b0aba59509706a9baea5bbf629
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/config/arm/ieee754-df.S | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libgcc/config/arm/ieee754-df.S b/libgcc/config/arm/ieee754-df.S index dd7ea70ade2..a2aac702e6c 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. |