summaryrefslogtreecommitdiff
path: root/gcc/config/tilegx/tilegx.h
diff options
context:
space:
mode:
authorwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-25 20:26:31 +0000
committerwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-25 20:26:31 +0000
commitba24c6530091b4ea2fc264a410e5f93b4105966c (patch)
tree017057535d21524b879bc55c3a38370afbce581e /gcc/config/tilegx/tilegx.h
parent4231cb46d26595ccf2f5c57ea4f2508cdbd4c330 (diff)
downloadgcc-ba24c6530091b4ea2fc264a410e5f93b4105966c.tar.gz
2014-01-25 Walter Lee <walt@tilera.com>
* config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte arguments on even registers. (tilegx_function_arg_advance): Ditto. (tilegx_gimplify_va_arg_expr): Align 16-byte var args to STACK_BOUNDARY. * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes. (BIGGEST_ALIGNMENT): Ditto. (BIGGEST_FIELD_ALIGNMENT): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/tilegx/tilegx.h')
-rw-r--r--gcc/config/tilegx/tilegx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/tilegx/tilegx.h b/gcc/config/tilegx/tilegx.h
index 68f466cbc3d..9eab51e68e2 100644
--- a/gcc/config/tilegx/tilegx.h
+++ b/gcc/config/tilegx/tilegx.h
@@ -59,9 +59,9 @@
#define UNITS_PER_WORD 8
#define PARM_BOUNDARY BITS_PER_WORD
-#define STACK_BOUNDARY 64
+#define STACK_BOUNDARY 128
#define FUNCTION_BOUNDARY 64
-#define BIGGEST_ALIGNMENT 64
+#define BIGGEST_ALIGNMENT 128
#define STRICT_ALIGNMENT 1
#define INT_TYPE_SIZE 32
@@ -74,7 +74,7 @@
#define PCC_BITFIELD_TYPE_MATTERS 1
#define FASTEST_ALIGNMENT 64
-#define BIGGEST_FIELD_ALIGNMENT 64
+#define BIGGEST_FIELD_ALIGNMENT 128
#define WIDEST_HARDWARE_FP_SIZE 64
/* Unaligned moves trap and are very slow. */