MIPS: Fix illegal use of at register
authorDjordje.Pesic <Djordje.Pesic@imgtec.com>
Thu, 10 Sep 2015 06:02:25 +0000 (23:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 10 Sep 2015 06:02:38 +0000 (06:02 +0000)
commit9e05ee74467e9ee14e53452f719782b5fe73d92d
tree0fc51f9d78af1bf02ba2c296d2e990ebf3f14b62
parent99f0130782a57a9abcaea7da5f2a495fe3cb2071
MIPS: Fix illegal use of at register

Fix illegal use of at register when ldc1 and sdc1 are called. Added dchecks to prevent such a usage.

TEST=mjsunit/asm/float64array-negative-offset(r6), mjsunit/asm/float64array-outofbounds(r6)

Review URL: https://codereview.chromium.org/1323763002

Cr-Commit-Position: refs/heads/master@{#30670}
src/compiler/mips/code-generator-mips.cc
src/compiler/mips64/code-generator-mips64.cc
src/mips/assembler-mips.cc
src/mips/lithium-codegen-mips.cc
src/mips/macro-assembler-mips.cc
src/mips64/assembler-mips64.cc