arm-trusted-firmware/lib
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
..
aarch32 Replace ASM signed tests with unsigned 2017-03-20 10:38:43 +00:00
aarch64 Replace ASM signed tests with unsigned 2017-03-20 10:38:43 +00:00
cpus Replace ASM signed tests with unsigned 2017-03-20 10:38:43 +00:00
el3_runtime Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
libfdt libfdt: Replace v1.4.1 by v1.4.2 2017-01-16 17:26:04 +00:00
locks Introduce locking primitives using CAS instruction 2017-02-14 09:26:11 +00:00
pmf Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
psci Merge pull request #834 from douglas-raillard-arm/dr/use_dc_zva_zeroing 2017-02-16 14:49:37 +00:00
semihosting AArch32: Common changes needed for BL1/BL2 2016-09-21 16:27:15 +01:00
stdlib stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00
xlat_tables Forbid block descriptors in initial xlat table levels 2016-12-13 15:38:19 +00:00