Connor-GH
aecec88fb6
Fix regression caused in e553e9e4
...
In the process of converting the assembly from AT&T syntax to Intel
syntax, bjorn3 made some mistakes. Firstly, `A+B(%reg)` is translated to
`[reg + A + B]`, and not `[reg * B + A]`. I can see how this was
confused because x86 also has an addressing mode that takes up to 4
arguments, where `A(%r1,%r2,B)` is translated to `[r1 + A + r2 * B]`
with the constraints that `B` must be a power of two <= 8, and `A` (if
present), must be an immediate. In this case, the `72+8` and such is
constfolded by the assembler into `80`.
This commit and the previous AT&T syntax version produce the exact same
assembly output now.
2026-04-02 19:14:42 -05:00
..
2026-02-12 13:07:24 +00:00
2025-12-19 15:41:56 +00:00
2025-08-09 01:16:12 -04:00
2025-10-03 21:51:10 -06:00
2026-02-14 16:48:39 +00:00
2026-01-21 11:26:08 +00:00
2026-02-14 16:48:39 +00:00
2026-03-25 10:50:01 +00:00
2026-02-10 02:29:33 +00:00
2026-03-25 10:50:01 +00:00
2026-04-02 08:03:19 +01:00
2026-02-04 12:12:50 +00:00
2026-03-17 08:11:42 +00:00
2026-02-03 09:11:29 +00:00
2026-03-11 14:37:16 +00:00
2026-03-14 15:38:45 +00:00
2026-03-27 08:07:18 +00:00
2026-03-29 08:10:13 +01:00
2026-01-28 11:21:43 +00:00
2026-04-02 00:43:20 +02:00
2026-02-19 11:05:30 +00:00
2026-02-04 08:32:14 +00:00
2026-04-02 00:43:20 +02:00
2026-03-29 07:44:55 +01:00
2026-02-02 08:53:28 +00:00
2026-01-21 00:41:57 +01:00
2026-03-29 02:20:16 +07:00
2026-04-01 23:43:32 +02:00
2026-02-28 15:50:10 +00:00
2026-04-02 13:59:14 +01:00
2026-02-10 15:55:32 +00:00
2026-03-29 16:07:58 +01:00
2026-02-22 22:18:03 +00:00
2026-02-22 22:18:03 +00:00
2026-02-05 09:42:21 +00:00
2026-03-07 16:03:14 +00:00
2026-03-29 08:40:37 +01:00
2026-03-19 10:43:20 +00:00
2026-03-19 13:03:16 +00:00
2026-02-23 15:11:37 +00:00
2026-03-28 17:44:18 +00:00
2026-03-28 08:15:24 +00:00
2025-02-12 21:24:16 +01:00
2026-02-09 16:30:51 +00:00
2026-03-15 21:39:10 +00:00
2026-03-29 11:31:08 +07:00
2026-02-28 14:36:46 +00:00
2026-03-10 11:43:30 +00:00
2026-03-17 09:42:29 +00:00
2026-02-12 17:05:02 +00:00
2026-03-11 14:37:16 +00:00
2026-04-02 19:14:42 -05:00
2026-01-30 23:46:10 +07:00
2026-04-01 22:54:30 +02:00
2026-03-29 16:18:21 +02:00
2026-04-02 00:43:20 +02:00
2026-04-02 00:43:20 +02:00
2026-02-27 14:18:58 +00:00
2026-02-27 14:18:58 +00:00
2026-01-02 21:23:58 +00:00
2026-01-28 11:21:43 +00:00
2026-01-02 21:23:58 +00:00
2026-03-26 11:09:52 +00:00
2026-03-26 11:33:11 +00:00
2026-02-14 16:48:39 +00:00
2026-03-25 12:26:24 +00:00
2026-02-28 17:19:29 +00:00
2026-03-25 13:34:03 +00:00
2026-04-01 23:20:05 +02:00
2026-03-31 11:03:41 +01:00
2026-03-26 13:58:09 +00:00
2026-02-11 09:48:47 +00:00
2026-03-02 10:01:05 +00:00
2026-04-02 00:43:20 +02:00
2026-03-01 16:30:29 +00:00
2025-12-13 08:56:43 +00:00
2026-04-02 08:47:07 -06:00
2026-03-31 11:13:16 +01:00
2026-02-27 21:10:56 +00:00
2026-02-14 08:40:15 +00:00
2026-03-28 15:12:54 +00:00
2026-02-27 21:10:56 +00:00
2026-02-28 17:19:29 +00:00
2026-03-31 00:19:35 +02:00
2026-03-31 00:19:35 +02:00
2026-02-12 13:07:24 +00:00
2026-02-25 13:55:01 +00:00
2026-03-30 07:12:06 -06:00
2026-02-25 13:55:01 +00:00
2026-03-31 11:03:41 +01:00