Bram Speeckaert
82f22cdfa1
JitArm64: cmp - Optimize a == -1 case
By explicitly handling this, we can avoid materializing -1 in a
register and generate more efficient code by taking advantage of -x ==
~x + 1.
Before:
0x12800015 mov w21, #-0x1
0x93407eb9 sxtw x25, w21
0x93407ef8 sxtw x24, w23
0xcb180338 sub x24, x25, x24
After:
0x2a3703f8 mvn w24, w23
0x93407f18 sxtw x24, w24
2022-11-01 12:00:32 +01:00
..
2022-10-22 11:44:38 -07:00
2022-10-30 15:19:55 -04:00
2022-11-01 12:00:32 +01:00
2022-10-29 21:32:57 +01:00
2022-09-08 20:36:28 +02:00
2022-10-30 04:21:14 -04:00
2022-09-08 20:36:28 +02:00
2022-10-22 04:55:12 -04:00
2022-10-30 12:04:57 -07:00
2022-10-21 19:14:00 -07:00
2022-10-30 12:04:57 -07:00
2022-11-01 01:10:03 +00:00
2022-10-25 15:29:09 -07:00
2022-10-30 12:04:57 -07:00
2022-03-18 03:04:51 -04:00
2022-04-27 15:26:43 -07:00
2022-10-16 04:31:28 +02:00
2022-09-20 15:57:50 -07:00
2022-04-27 15:26:43 -07:00
2022-04-27 15:26:43 -07:00