Gilles Peskine a2dc0cc9ea mask_of_range: simplify high comparison
To test c <= high, instead of testing the sign of (high + 1) - c, negate the
sign of high - c (as we're doing for c - low). This is a little easier to
read and shaves 2 instructions off the arm thumb build with
arm-none-eabi-gcc 7.3.1.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-10-25 21:24:23 +02:00
..
2021-08-03 14:01:51 +01:00
2021-09-30 15:51:05 +02:00
2021-06-07 21:42:15 +02:00
2021-06-25 14:59:15 +01:00
2021-08-03 13:39:57 +01:00
2021-07-02 14:59:26 +01:00
2021-08-03 13:39:57 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-08-03 13:39:57 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-09-13 12:54:46 +02:00
2020-11-25 13:10:50 +01:00
2020-11-25 13:10:50 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 14:08:26 +01:00
2021-08-20 15:56:22 +01:00
2021-08-23 12:49:14 +01:00
2021-08-23 11:45:36 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00