mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 23:48:33 +00:00
8259236: C2 compilation fails with assert(is_power_of_2(value)) failed: value must be a power of 2: 8000000000000000
Reviewed-by: thartmann
This commit is contained in:
parent
82bdbfd7fa
commit
d5aa49d154
@ -9600,7 +9600,7 @@ instruct btrL_mem_imm(memory dst, immL_NotPow2 con, rFlagsReg cr)
|
||||
ins_cost(125);
|
||||
format %{ "btrq $dst, log2(not($con))\t# long" %}
|
||||
ins_encode %{
|
||||
__ btrq($dst$$Address, log2i_exact(~$con$$constant));
|
||||
__ btrq($dst$$Address, log2i_exact((julong)~$con$$constant));
|
||||
%}
|
||||
ins_pipe(ialu_mem_imm);
|
||||
%}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user