commit | 73ae4fdc32345ad1dc44cc5268204174555b2b55 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Fri Oct 28 11:24:50 2016 -0400 |
committer | Nicolas Capens <nicolascapens@google.com> | Fri Oct 28 19:05:28 2016 +0000 |
tree | 38738817f9cc8764dae05bf7058b0ff8a59ad70e | |
parent | 130aca718ed16be20e616e591a53de1d69f00d12 [diff] |
Preserve rsi and rdi when using Microsoft x86-64 calling convention. Also, their priority is lowered so that registers which are scratch on both Unix and Windows are preferred by the register allocator. BUG=swiftshader:22 Change-Id: Id55d8c8b8c106947e3041a082099069d7c6c6ed0 Reviewed-on: https://chromium-review.googlesource.com/404503 Reviewed-by: Jim Stichnoth <stichnot@chromium.org> Tested-by: Jim Stichnoth <stichnot@chromium.org>