Skip to content
Snippets Groups Projects
Commit 032743c5 authored by David Bühler's avatar David Bühler
Browse files

[Eva] The meta option -eva-precison also controls -eva-auto-loop-unroll.

parent bf21b441
No related branches found
No related tags found
No related merge requests found
...@@ -1546,6 +1546,7 @@ let get array n = if n < 0 then 0 else array.(n) ...@@ -1546,6 +1546,7 @@ let get array n = if n < 0 then 0 else array.(n)
let () = let () =
bind (module MinLoopUnroll) (fun n -> max 0 (n - 4)); bind (module MinLoopUnroll) (fun n -> max 0 (n - 4));
bind (module AutoLoopUnroll) (fun n -> if n = 0 then 0 else 4 lsl n);
bind (module SemanticUnrollingLevel) (get slevel_power); bind (module SemanticUnrollingLevel) (get slevel_power);
bind (module WideningDelay) (fun n -> 1 + n / 2); bind (module WideningDelay) (fun n -> 1 + n / 2);
bind (module ILevel) (get ilevel_power); bind (module ILevel) (get ilevel_power);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment