Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
4ab4fbed
Commit
4ab4fbed
authored
Jan 20, 2016
by
John Porto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero. X8664. Fix broken call sequence.
BUG=
https://bugs.chromium.org/p/nativeclient/issues/detail?id=4077
R=sehr@chromium.org Review URL:
https://codereview.chromium.org/1614453002
.
parent
31f4f86b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
Makefile.standalone
Makefile.standalone
+9
-0
IceTargetLoweringX86BaseImpl.h
src/IceTargetLoweringX86BaseImpl.h
+1
-1
No files found.
Makefile.standalone
View file @
4ab4fbed
...
@@ -497,12 +497,21 @@ check-presubmit presubmit:
...
@@ -497,12 +497,21 @@ check-presubmit presubmit:
# Run lit tests, cross tests, unit tests, and spec2k/x86-32.
# Run lit tests, cross tests, unit tests, and spec2k/x86-32.
+make
-f
Makefile.standalone
\
+make
-f
Makefile.standalone
\
check
check-spec
check
check-spec
# Run spec2k/x86-64.
+make
-f
Makefile.standalone
\
TARGET
=
x8664 check-spec
# Build spec2k under -Om1/x86-32, to check for liveness errors.
# Build spec2k under -Om1/x86-32, to check for liveness errors.
+make
-f
Makefile.standalone
\
+make
-f
Makefile.standalone
\
SPECFLAGS
=
'-Om1'
SPECBUILDONLY
=
true
check-spec
SPECFLAGS
=
'-Om1'
SPECBUILDONLY
=
true
check-spec
# Build spec2k under -Om1/x86-64, to check for liveness errors.
+make
-f
Makefile.standalone
\
SPECFLAGS
=
'-Om1'
TARGET
=
x8664
SPECBUILDONLY
=
true
check-spec
# Run spec2k for x86-32 without advanced phi lowering.
# Run spec2k for x86-32 without advanced phi lowering.
+make
-f
Makefile.standalone
\
+make
-f
Makefile.standalone
\
SPECFLAGS
=
'--sz=--phi-edge-split=0'
check-spec
SPECFLAGS
=
'--sz=--phi-edge-split=0'
check-spec
# Run spec2k for x86-64 without advanced phi lowering.
+make
-f
Makefile.standalone
\
SPECFLAGS
=
'--sz=--phi-edge-split=0'
TARGET
=
x8664 check-spec
# Run cross tests and lit tests to validate filetype=asm output.
# Run cross tests and lit tests to validate filetype=asm output.
+make
-f
Makefile.standalone
\
+make
-f
Makefile.standalone
\
FORCEASM
=
1 check-xtest check-lit
FORCEASM
=
1 check-xtest check-lit
...
...
src/IceTargetLoweringX86BaseImpl.h
View file @
4ab4fbed
...
@@ -2152,7 +2152,7 @@ void TargetX86Base<TraitsType>::lowerCall(const InstCall *Instr) {
...
@@ -2152,7 +2152,7 @@ void TargetX86Base<TraitsType>::lowerCall(const InstCall *Instr) {
// Ensure there is enough space for the fstp/movs for floating returns.
// Ensure there is enough space for the fstp/movs for floating returns.
Variable
*
Dest
=
Instr
->
getDest
();
Variable
*
Dest
=
Instr
->
getDest
();
const
Type
DestTy
=
Dest
?
Dest
->
getType
()
:
IceType_void
;
const
Type
DestTy
=
Dest
?
Dest
->
getType
()
:
IceType_void
;
if
(
Traits
::
X86_PASS_SCALAR_FP_IN_XMM
)
{
if
(
!
Traits
::
X86_PASS_SCALAR_FP_IN_XMM
)
{
if
(
isScalarFloatingType
(
DestTy
))
{
if
(
isScalarFloatingType
(
DestTy
))
{
ParameterAreaSizeBytes
=
ParameterAreaSizeBytes
=
std
::
max
(
static_cast
<
size_t
>
(
ParameterAreaSizeBytes
),
std
::
max
(
static_cast
<
size_t
>
(
ParameterAreaSizeBytes
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment