OSDN Git Service

Subzero: Fix frame size for floating-point register out-args.
authorJim Stichnoth <stichnot@chromium.org>
Mon, 20 Jun 2016 13:46:07 +0000 (06:46 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Mon, 20 Jun 2016 13:46:07 +0000 (06:46 -0700)
commitc577727f49d6f4ccdbf40e9fa527cf1c97f23a7a
tree16464e7c2e8943b2b08741109cab550f368fc961
parente450656d45ef91dc3a1cf51eda0e13fffdb7ff7d
Subzero: Fix frame size for floating-point register out-args.

The code that calculates maximum out-arg stack space was neglecting the fact that on x86-64, the first N scalar floating-point arguments are passed through xmm registers, not the stack.  As a result, stack frames were sometimes larger than necessary.

BUG= none
R=jpp@chromium.org

Review URL: https://codereview.chromium.org/2076663006 .
src/IceTargetLoweringX86BaseImpl.h