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
4b1bdae3
Commit
4b1bdae3
authored
Jan 06, 2017
by
Nicolas Capens
Committed by
Jim Stichnoth
Jan 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Mac OS compilation.
Change-Id: I140c17b1b48156ae5dd5ca6cf4ef41f3bc03f16a Reviewed-on:
https://chromium-review.googlesource.com/425780
Reviewed-by:
Jim Stichnoth
<
stichnot@chromium.org
>
parent
f2c91aa5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
IceInstX8664.def
src/IceInstX8664.def
+1
-3
IceTargetLoweringX8664Traits.h
src/IceTargetLoweringX8664Traits.h
+1
-3
No files found.
src/IceInstX8664.def
View file @
4b1bdae3
...
@@ -214,11 +214,9 @@
...
@@ -214,11 +214,9 @@
#if defined(_WIN32) && defined(SUBZERO_USE_MICROSOFT_ABI) // Microsoft x86-64 ABI
#if defined(_WIN32) && defined(SUBZERO_USE_MICROSOFT_ABI) // Microsoft x86-64 ABI
#define REGX8664_BYTEREG_TABLE REGX8664_BYTEREG_TABLE2(0, 1)
#define REGX8664_BYTEREG_TABLE REGX8664_BYTEREG_TABLE2(0, 1)
#define REGX8664_GPR_TABLE REGX8664_GPR_TABLE2(0, 1)
#define REGX8664_GPR_TABLE REGX8664_GPR_TABLE2(0, 1)
#el
if defined(__unix__)
// System V AMD64 ABI
#el
se
// System V AMD64 ABI
#define REGX8664_BYTEREG_TABLE REGX8664_BYTEREG_TABLE2(1, 0)
#define REGX8664_BYTEREG_TABLE REGX8664_BYTEREG_TABLE2(1, 0)
#define REGX8664_GPR_TABLE REGX8664_GPR_TABLE2(1, 0)
#define REGX8664_GPR_TABLE REGX8664_GPR_TABLE2(1, 0)
#else
#error "Unsupported platform"
#endif
#endif
// Note: It would be more appropriate to list the xmm register aliases as
// Note: It would be more appropriate to list the xmm register aliases as
...
...
src/IceTargetLoweringX8664Traits.h
View file @
4b1bdae3
...
@@ -730,7 +730,7 @@ public:
...
@@ -730,7 +730,7 @@ public:
assert
(
Ty
==
IceType_i64
||
Ty
==
IceType_i32
);
assert
(
Ty
==
IceType_i64
||
Ty
==
IceType_i32
);
return
getGprForType
(
Ty
,
GprForArgNum
[
ArgNum
]);
return
getGprForType
(
Ty
,
GprForArgNum
[
ArgNum
]);
}
}
#el
if defined(__unix__)
#el
se
// System V x86-64 calling convention:
// System V x86-64 calling convention:
//
//
// * The first eight arguments of vector/fp type, regardless of their
// * The first eight arguments of vector/fp type, regardless of their
...
@@ -762,8 +762,6 @@ public:
...
@@ -762,8 +762,6 @@ public:
assert
(
Ty
==
IceType_i64
||
Ty
==
IceType_i32
);
assert
(
Ty
==
IceType_i64
||
Ty
==
IceType_i32
);
return
getGprForType
(
Ty
,
GprForArgNum
[
ArgNum
]);
return
getGprForType
(
Ty
,
GprForArgNum
[
ArgNum
]);
}
}
#else
#error "Unsupported platform"
#endif
#endif
/// Whether scalar floating point arguments are passed in XMM registers
/// Whether scalar floating point arguments are passed in XMM registers
...
...
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