arm-trusted-firmware/lib/aarch64
Douglas Raillard 355a5d0336 Replace ASM signed tests with unsigned
ge, lt, gt and le condition codes in assembly provide a signed test
whereas hs, lo, hi and ls provide the unsigned counterpart. Signed tests
should only be used when strictly necessary, as using them on logically
unsigned values can lead to inverting the test for high enough values.
All offsets, addresses and usually counters are actually unsigned
values, and should be tested as such.

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.

Change-Id: I58b7e98d03e3a4476dfb45230311f296d224980a
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
2017-03-20 10:38:43 +00:00
..
cache_helpers.S Replace ASM signed tests with unsigned 2017-03-20 10:38:43 +00:00
misc_helpers.S Introduce unified API to zero memory 2017-02-06 17:01:39 +00:00
xlat_tables.c Refactor the xlat_tables library code 2016-04-13 12:06:23 +01:00