instruction scheduling tweaks
This commit is contained in:
parent
e26688f036
commit
1a7b57c347
@ -361,8 +361,8 @@ nohalo_sharp_level_1(
|
|||||||
/*
|
/*
|
||||||
* Useful sums:
|
* Useful sums:
|
||||||
*/
|
*/
|
||||||
const double twice_dos_two_plus_dos_thr = 2. * ( dos_two + dos_thr );
|
const double dos_two_plus_dos_thr = dos_two + dos_thr;
|
||||||
const double twice_dos_two_plus_tre_two = 2. * ( dos_two + tre_two );
|
const double dos_two_plus_tre_two = dos_two + tre_two;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Products useful for minmod:
|
* Products useful for minmod:
|
||||||
@ -393,33 +393,36 @@ nohalo_sharp_level_1(
|
|||||||
* pixel areas) double resolution pixel value:
|
* pixel areas) double resolution pixel value:
|
||||||
*/
|
*/
|
||||||
const double four_times_dos_twothr =
|
const double four_times_dos_twothr =
|
||||||
twice_dos_two_plus_dos_thr
|
|
||||||
+
|
|
||||||
FAST_MINMOD( deux_dos, prem_dos, deux_dos_prem_dos, deux_dos_deux_dos )
|
FAST_MINMOD( deux_dos, prem_dos, deux_dos_prem_dos, deux_dos_deux_dos )
|
||||||
-
|
-
|
||||||
FAST_MINMOD( deux_dos, troi_dos, deux_dos_troi_dos, deux_dos_deux_dos );
|
FAST_MINMOD( deux_dos, troi_dos, deux_dos_troi_dos, deux_dos_deux_dos )
|
||||||
|
+
|
||||||
|
2. * dos_two_plus_dos_thr;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compute the needed "down" double resolution pixel value:
|
* Compute the needed "down" double resolution pixel value:
|
||||||
*/
|
*/
|
||||||
const double four_times_dostre_two =
|
const double four_times_dostre_two =
|
||||||
twice_dos_two_plus_tre_two
|
|
||||||
+
|
|
||||||
FAST_MINMOD( deux_two, prem_two, deux_two_prem_two, deux_two_deux_two )
|
FAST_MINMOD( deux_two, prem_two, deux_two_prem_two, deux_two_deux_two )
|
||||||
-
|
-
|
||||||
FAST_MINMOD( deux_two, troi_two, deux_two_troi_two, deux_two_deux_two );
|
FAST_MINMOD( deux_two, troi_two, deux_two_troi_two, deux_two_deux_two )
|
||||||
|
+
|
||||||
|
2. * dos_two_plus_tre_two;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compute the "diagonal" (at the boundary between thrr input
|
* Compute the "diagonal" (at the boundary between thrr input
|
||||||
* pixel areas) double resolution pixel value:
|
* pixel areas) double resolution pixel value:
|
||||||
*/
|
*/
|
||||||
const double eight_times_dostre_twothr =
|
const double piece_of_eight_times_dostre_twothr =
|
||||||
four_times_dos_twothr
|
four_times_dos_twothr
|
||||||
+
|
+
|
||||||
2. * deux_thr_plus_deux_dos
|
|
||||||
+
|
|
||||||
four_times_dostre_two
|
four_times_dostre_two
|
||||||
+
|
+
|
||||||
|
2. * deux_thr_plus_deux_dos;
|
||||||
|
|
||||||
|
const double eight_times_dostre_twothr =
|
||||||
|
piece_of_eight_times_dostre_twothr
|
||||||
|
+
|
||||||
FAST_MINMOD( deux_tre, prem_tre, deux_tre_prem_tre, deux_tre_deux_tre )
|
FAST_MINMOD( deux_tre, prem_tre, deux_tre_prem_tre, deux_tre_deux_tre )
|
||||||
-
|
-
|
||||||
FAST_MINMOD( deux_tre, troi_tre, deux_tre_troi_tre, deux_tre_deux_tre )
|
FAST_MINMOD( deux_tre, troi_tre, deux_tre_troi_tre, deux_tre_deux_tre )
|
||||||
|
Loading…
Reference in New Issue
Block a user