Include last remarks from Ingo

- Changed `_mm_store_ps` to `STVF`
- Increased number of cached CLUTs by factor 1.5
This commit is contained in:
Flössie 2016-05-01 20:49:17 +02:00
parent 17635cf535
commit d530617ae1
2 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@ void rtengine::HaldCLUT::getRGB(
v_out = vintpf(v_b, v_tmp1, v_out);
_mm_store_ps(out_rgbx, vintpf(_mm_load_ps1(&strength), v_out, v_in));
STVF(*out_rgbx, vintpf(_mm_load_ps1(&strength), v_out, v_in));
#endif
}
}

View File

@ -572,9 +572,9 @@ Gtk::Widget* Preferences::getPerformancePanel ()
clutCacheSizeSB->set_increments (1, 5);
clutCacheSizeSB->set_max_length(2); // Will this be sufficient? :)
#ifdef _OPENMP
clutCacheSizeSB->set_range (1, 2 * omp_get_num_procs());
clutCacheSizeSB->set_range (1, 3 * omp_get_num_procs());
#else
clutCacheSizeSB->set_range (1, 8);
clutCacheSizeSB->set_range (1, 12);
#endif
clutCacheSizeHB->pack_start (*CLUTLl, Gtk::PACK_SHRINK, 0);
clutCacheSizeHB->pack_end (*clutCacheSizeSB, Gtk::PACK_SHRINK, 0);