Harald van Dijk
950ee75909
[RISC-V] Fix check of minimum vlen. ( #114055 )
...
If we have a minimum vlen, we were adjusting StackSize to change the
unit from vscale to bytes, and then calculating the required padding
size for alignment in bytes. However, we then used that padding size as
an offset in vscale units, resulting in misplaced stack objects.
While it would be possible to adjust the object offsets by dividing
AlignmentPadding by ST.getRealMinVLen() / RISCV::RVVBitsPerBlock, we can
simplify the calculation a bit if instead we adjust the alignment to be
in vscale units.
@topperc This fixes a bug I am seeing after #110312 , but I am not 100%
certain I am understanding the code correctly, could you please see if
this makes sense to you?
2024-10-29 17:30:30 +00:00
..
2024-10-21 06:58:12 -07:00
2024-10-29 17:30:30 +00:00
2024-10-11 20:25:53 +01:00
2024-10-15 21:07:06 +08:00
2024-10-11 20:25:53 +01:00
2024-10-15 21:07:06 +08:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-09-25 06:14:43 +01:00
2024-10-11 20:25:53 +01:00
2024-07-09 10:45:56 -07:00
2024-07-09 10:45:56 -07:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-06-21 11:11:10 +08:00
2024-10-29 07:57:34 +00:00
2024-06-15 16:15:50 +01:00
2024-06-15 16:15:50 +01:00
2024-06-15 16:15:50 +01:00
2024-07-30 19:00:46 -07:00
2024-09-02 22:04:09 -07:00
2024-07-09 14:34:03 +08:00
2024-09-03 15:34:25 -07:00
2024-07-09 14:34:03 +08:00
2024-07-09 14:34:03 +08:00
2024-07-09 14:34:03 +08:00
2024-07-09 14:34:03 +08:00
2024-07-09 14:34:03 +08:00
2024-09-03 16:04:51 -07:00
2024-09-03 16:04:51 -07:00
2024-10-04 12:22:11 +03:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-10-11 20:25:53 +01:00
2024-08-30 09:43:42 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-06-20 07:27:07 +02:00
2024-09-26 22:56:12 -07:00
2024-09-17 08:47:20 -07:00
2024-07-27 17:26:32 -07:00
2024-07-05 11:29:42 +08:00
2024-09-02 22:04:09 -07:00
2024-08-16 14:23:00 +08:00
2024-08-03 01:51:26 +03:00
2024-08-14 08:44:57 -07:00
2024-09-06 15:50:29 -07:00
2024-09-06 15:50:29 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-09-12 18:40:52 -07:00
2024-09-06 15:50:29 -07:00
2024-10-28 14:07:32 +07:00
2024-09-06 15:50:29 -07:00
2024-07-22 16:01:59 +02:00
2024-09-05 08:42:13 -07:00
2024-09-19 15:16:10 -07:00
2024-09-30 11:44:23 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-01 22:09:27 -07:00
2024-10-01 22:09:27 -07:00
2024-08-08 17:33:54 -07:00
2024-09-05 08:42:13 -07:00
2024-09-12 18:40:52 -07:00
2024-10-01 22:09:27 -07:00
2024-10-01 22:09:27 -07:00
2024-10-28 14:07:32 +07:00
2024-10-01 22:09:27 -07:00
2024-09-06 15:50:29 -07:00
2024-09-19 15:16:10 -07:00
2024-10-11 20:25:53 +01:00
2024-07-05 10:55:36 +08:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-14 14:12:36 +08:00
2024-10-01 13:45:30 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-08-31 23:57:40 -07:00
2024-09-26 22:56:12 -07:00
2024-09-26 22:56:12 -07:00
2024-09-17 11:21:52 -03:00
2024-09-26 22:56:12 -07:00
2024-09-12 18:40:52 -07:00
2024-09-26 22:56:12 -07:00
2024-10-01 22:09:27 -07:00
2024-09-06 15:50:29 -07:00
2024-09-05 08:42:13 -07:00
2024-09-03 16:04:51 -07:00
2024-09-03 16:04:51 -07:00
2024-09-19 15:16:10 -07:00
2024-10-11 20:25:53 +01:00
2024-10-10 08:43:30 -07:00
2024-08-03 18:19:40 -07:00
2024-10-18 10:40:38 +01:00
2024-10-18 10:40:38 +01:00
2024-10-18 10:40:38 +01:00
2024-10-18 10:40:38 +01:00
2024-10-18 10:40:38 +01:00
2024-08-26 13:30:23 +03:00
2024-09-09 09:15:07 +08:00
2024-10-14 10:47:59 +08:00
2024-09-30 23:52:35 -07:00
2024-10-18 18:17:23 -07:00
2024-10-18 10:40:38 +01:00
2024-10-18 10:40:38 +01:00
2024-10-18 18:17:23 -07:00
2024-10-18 18:17:23 -07:00
2024-10-18 10:40:38 +01:00
2024-10-02 13:37:25 -07:00
2024-10-11 20:25:53 +01:00
2024-08-06 22:04:48 +08:00
2024-10-01 22:09:27 -07:00
2024-08-04 22:35:38 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-08-08 13:22:59 +08:00
2024-09-16 14:17:42 -07:00
2024-09-11 09:53:11 -07:00
2024-09-26 22:56:12 -07:00
2024-09-16 12:51:07 -07:00
2024-10-01 22:09:27 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-07-09 10:45:56 -07:00
2024-10-01 13:45:30 +01:00
2024-10-18 09:35:42 +04:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-09-19 13:39:56 +01:00
2024-09-19 13:39:56 +01:00
2024-10-11 14:28:51 -07:00
2024-10-04 12:22:11 +03:00
2024-10-11 20:25:53 +01:00
2024-08-03 01:51:26 +03:00
2024-10-11 20:25:53 +01:00
2024-07-22 17:19:46 +02:00
2024-07-23 09:43:30 -07:00
2024-07-29 17:15:02 -07:00
2024-08-03 01:51:26 +03:00
2024-06-13 12:37:43 +01:00
2024-07-03 20:32:46 +08:00
2024-09-27 13:48:01 -07:00
2024-10-11 20:25:53 +01:00
2024-10-01 13:45:30 +01:00
2024-09-10 18:47:20 -07:00
2024-09-16 09:48:25 +02:00
2024-08-27 10:08:43 +08:00
2024-08-15 10:37:04 +08:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-08-01 12:24:25 +08:00
2024-06-20 07:36:48 -07:00
2024-10-11 16:16:07 -07:00
2024-06-20 07:36:48 -07:00
2024-10-15 08:17:50 +08:00
2024-06-27 09:31:26 -07:00
2024-10-03 15:13:02 +08:00
2024-10-18 08:06:47 +02:00
2024-10-01 13:45:30 +01:00
2024-06-20 07:36:48 -07:00
2024-10-11 16:16:07 -07:00
2024-10-05 09:23:29 +08:00
2024-10-15 08:17:50 +08:00
2024-06-27 09:31:26 -07:00
2024-10-04 16:03:09 +08:00
2024-08-14 15:18:10 -07:00
2024-09-03 13:33:14 -07:00
2024-09-03 13:33:14 -07:00
2024-09-30 11:44:23 -07:00
2024-10-01 13:45:30 +01:00
2024-08-23 14:06:12 +01:00
2024-10-11 20:25:53 +01:00
2024-09-16 12:46:43 -07:00
2024-08-06 20:27:14 -07:00
2024-08-03 01:51:26 +03:00
2024-10-11 20:25:53 +01:00
2024-08-09 11:48:48 -07:00
2024-08-04 22:35:38 -07:00
2024-07-17 13:06:58 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-02 16:33:31 -07:00
2024-10-02 16:33:31 -07:00
2024-10-04 12:22:11 +03:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-08-12 09:34:51 -07:00
2024-10-01 13:45:30 +01:00
2024-10-01 13:45:30 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-08-11 10:22:31 -07:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-07-15 12:42:44 +08:00
2024-08-28 12:48:20 +01:00
2024-10-11 20:25:53 +01:00
2024-10-11 20:25:53 +01:00
2024-10-01 11:22:02 +10:00
2024-07-15 10:25:25 +10:00
2024-06-07 21:45:49 +08:00
2024-10-11 20:25:53 +01:00
2024-10-18 10:40:38 +01:00
2024-09-04 23:26:40 -07:00
2024-09-01 12:15:00 -07:00