From: Jacob Lifshay Date: Tue, 26 May 2020 03:27:41 +0000 (-0700) Subject: change loop order X-Git-Tag: v0.2.0~55 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7250d2d750aebee4464892287fb1af057b1c379;p=power-instruction-analyzer.git change loop order --- diff --git a/src/main.rs b/src/main.rs index 220991a..5cdde9e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -163,9 +163,9 @@ const TEST_VALUES: &[u64] = &[ ]; fn main() { - for ÷nd in TEST_VALUES { - for &divisor in TEST_VALUES { - for &(f, name) in TestDivInput::FUNCTIONS { + for &(f, name) in TestDivInput::FUNCTIONS { + for ÷nd in TEST_VALUES { + for &divisor in TEST_VALUES { let inputs = TestDivInput { dividend, divisor,