OSDN Git Service

Don't emit address size prefixes for native x86-64 ABI.
authorNicolas Capens <capn@google.com>
Wed, 28 Sep 2016 11:20:30 +0000 (07:20 -0400)
committerNicolas Capens <nicolascapens@google.com>
Thu, 29 Sep 2016 01:32:05 +0000 (01:32 +0000)
commitf53580b063d9a206e72a2b4166aff2c62e71555d
tree7c430001a7dca4177e8706edcfe6d0b6a6a249f1
parentfe93fdd5e29d7470eee6d41eb70075ad9415d227
Don't emit address size prefixes for native x86-64 ABI.

Address size prefixes are used in 64-bit x86 for PNaCl's use of the
x32 ABI with ILP32 data model. Don't emit them for any other ABI.

BUG=swiftshader:9

Change-Id: I1351db086d44ce4b144b3428866a54e84637b9a4
Reviewed-on: https://chromium-review.googlesource.com/390409
Reviewed-by: Jim Stichnoth <stichnot@chromium.org>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/IceTargetLoweringX8664.h