]> granicus.if.org Git - libvpx/commit
remove fldcw/fstcw from Win64 builds
authorJohann <johannkoenig@google.com>
Mon, 5 Mar 2018 21:48:35 +0000 (13:48 -0800)
committerJohann <johannkoenig@google.com>
Fri, 23 Mar 2018 13:22:39 +0000 (06:22 -0700)
commit60a3cb9ad840377d46286bfd703c30a4a4ee56e2
tree3039605801fc54640334348a1155fba028a41a09
parent62c47475325915008e3f9cca6b636aeca07ab607
remove fldcw/fstcw from Win64 builds

_MCW_PC (Precision control) is not supported on x64:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/control87-controlfp-control87-2

The x87 FPU is not used on Win64 or ARM so setting the x87 control word
is not necessary. The SSE/SSE2 and ARM FPUs don't have a precision
control - the precision is embedded in each instruction - so the need to
set the control word is also gone.

BUG=webm:1500

Change-Id: I014513282a7dc320d1cdeaec48249d98a66bf09f
vpx_ports/float_control_word.asm [deleted file]
vpx_ports/vpx_ports.mk
vpx_ports/x86.h