Commit 60b4cb3
committed
Ensure all fixed registers fit within their
Operands can be constrained to fixed registers, potentially multiple
_different_ fixed registers; `Env::fixup_multi_fixed_vregs` fixes this.
Here we also check that, for all the uses of a fixed register, the fixed
register chosen does not fall outside of any limit constraints. To do
this, we find the _lowest_ (minimum) limit in all uses of the operand
and ensure the fixed register is below that.Limit
1 parent 54d1926 commit 60b4cb3
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
804 | 805 | | |
805 | 806 | | |
806 | 807 | | |
| 808 | + | |
| 809 | + | |
807 | 810 | | |
808 | 811 | | |
809 | 812 | | |
| |||
814 | 817 | | |
815 | 818 | | |
816 | 819 | | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
817 | 825 | | |
| 826 | + | |
818 | 827 | | |
819 | 828 | | |
820 | 829 | | |
| |||
834 | 843 | | |
835 | 844 | | |
836 | 845 | | |
| 846 | + | |
837 | 847 | | |
838 | 848 | | |
839 | 849 | | |
| |||
867 | 877 | | |
868 | 878 | | |
869 | 879 | | |
| 880 | + | |
870 | 881 | | |
871 | 882 | | |
872 | 883 | | |
| |||
0 commit comments