Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 696153002: Subzero: Remove the LEAHACK workarounds. (Closed)

Created:
6 years, 1 month ago by Jim Stichnoth
Modified:
6 years, 1 month ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Remove the LEAHACK workarounds. They are no longer needed now that we aren't using the buggy llvm-mc parser for Intel syntax. This also gets all spec2k components to work with -build-on-read. Also, adds an emit-time check that infinite-weight Variables actually got a physical register. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=dd16507468e0c95556540081bd4fc013decdf1b0

Patch Set 1 #

Patch Set 2 : Add a similar check to stackVarToAsmOperand() #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M src/IceTargetLoweringX8632.h View 1 chunk +1 line, -4 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 4 chunks +7 lines, -9 lines 2 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
6 years, 1 month ago (2014-11-01 21:52:36 UTC) #2
jvoung (off chromium)
LGTM -- yay! https://codereview.chromium.org/696153002/diff/20001/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/696153002/diff/20001/src/IceTargetLoweringX8632.cpp#newcode523 src/IceTargetLoweringX8632.cpp:523: x86::Address TargetX8632::stackVarToAsmOperand(const Variable *Var) const { ...
6 years, 1 month ago (2014-11-02 17:37:52 UTC) #3
Jim Stichnoth
Committed patchset #2 (id:20001) manually as dd16507468e0c95556540081bd4fc013decdf1b0 (presubmit successful).
6 years, 1 month ago (2014-11-02 17:41:50 UTC) #4
Jim Stichnoth
6 years, 1 month ago (2014-11-02 18:04:28 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/696153002/diff/20001/src/IceTargetLoweringX86...
File src/IceTargetLoweringX8632.cpp (right):

https://codereview.chromium.org/696153002/diff/20001/src/IceTargetLoweringX86...
src/IceTargetLoweringX8632.cpp:523: x86::Address
TargetX8632::stackVarToAsmOperand(const Variable *Var) const {
On 2014/11/02 17:37:52, jvoung wrote:
> Hmm I was seeing an assert recently building mesa, maybe it was related to
this.
> A mov instruction w/ a stack as dest, but the src didn't get a register or
> something. Seems fixed after trying this patch locally.

Yeah, sorry about that... I was always in the habit of building spec2k with
-build-on-read=0, whereas -build-on-read=1 would lead to an assertion failure
somewhere else in the integrated assembler, and invalid assembly from the text
asm emitter.

This isn't the ideal place to catch these errors, but at least they should be
caught reliably now.

Powered by Google App Engine
This is Rietveld 408576698