Commit f359a43
[vm, compiler] Improve TestImmediate on RISC-V for higher single-bit tests.
Shifting the interesting bit to the sign bit is shorter than loading a large immediate.
TEST=ci
Change-Id: Ibd3dadf3885b554643e4606e8cbf83fcc6ba3d30
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392463
Commit-Queue: Ryan Macnak <[email protected]>
Reviewed-by: Alexander Aprelev <[email protected]>1 parent e65b892 commit f359a43
1 file changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2853 | 2853 | | |
2854 | 2854 | | |
2855 | 2855 | | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
| 2856 | + | |
| 2857 | + | |
2859 | 2858 | | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
2860 | 2884 | | |
2861 | 2885 | | |
2862 | 2886 | | |
| |||
0 commit comments