At the present time, assert_different_registers() uses an O(N**2) algorithm in assert_different_registers(). We can utilize RegSet to do it in O(N) time. This would be a useful optimization for all builds with assertions enabled.
In addition, it would be useful to be able to static_assert different registers.
In addition, it would be useful to be able to static_assert different registers.
- duplicates
-
JDK-8293359 Use a RegSet to simplify assert_different_registers()
-
- Closed
-