summaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/common/aarch64/tegra_helpers.S
diff options
context:
space:
mode:
authorDouglas Raillard <douglas.raillard@arm.com>2017-03-20 10:38:29 +0000
committerDouglas Raillard <douglas.raillard@arm.com>2017-03-20 17:46:20 +0000
commit768baf6e8d38979764ed5710801b001a44e0dad1 (patch)
treeab9ad529a534760bf26c4db226adb78245a8b373 /plat/nvidia/tegra/common/aarch64/tegra_helpers.S
parent355a5d03360802e2c7b8f09ffca641df0c9e47bf (diff)
downloadarm-trusted-firmware-768baf6e8d38979764ed5710801b001a44e0dad1.tar.gz
Tegra: replace ASM signed tests with unsigned
Replace the occurrences of signed condition codes where it was unnecessary by an unsigned test as the unsigned tests allow the full range of unsigned values to be used without inverting the result with some large operands. This reverts commit ee2c909947e0a9c4a2562689a7bfc863bc4794f9. Change-Id: Ibaa5e8dfae6ad65bada3cda5f683d181fee37e53 Acked-by: Varun Wadekar <vwadekar@nvidia.com> Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Diffstat (limited to 'plat/nvidia/tegra/common/aarch64/tegra_helpers.S')
-rw-r--r--plat/nvidia/tegra/common/aarch64/tegra_helpers.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/nvidia/tegra/common/aarch64/tegra_helpers.S b/plat/nvidia/tegra/common/aarch64/tegra_helpers.S
index 70a7f3a9b..308753ecb 100644
--- a/plat/nvidia/tegra/common/aarch64/tegra_helpers.S
+++ b/plat/nvidia/tegra/common/aarch64/tegra_helpers.S
@@ -289,7 +289,7 @@ func plat_reset_handler
mov x2, #BL31_SIZE
_loop16:
cmp x2, #16
- b.lt _loop1
+ b.lo _loop1
ldp x3, x4, [x1], #16
stp x3, x4, [x0], #16
sub x2, x2, #16