-
Dan Sanders authored
When playing silence, many samples are small enough that squaring them results in a denormal float. On some AMD CPUs this results in significantly reduced performance. This patch configures the SSE floating point environment to flush denormals and to treat denormals as zero. Bug: 531026 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: If3842a22f6dc9bef76d87b0a6db069c3f9234d19 Reviewed-on: https://chromium-review.googlesource.com/1179361 Commit-Queue: Dan Sanders <sandersd@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#584220}
6ff108b6