about summary refs log tree commit diff
path: root/sysdeps/tile/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/tile/sysdep.h')
-rw-r--r--sysdeps/tile/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/tile/sysdep.h b/sysdeps/tile/sysdep.h
index ead9dba0b4..7b3d8739d2 100644
--- a/sysdeps/tile/sysdep.h
+++ b/sysdeps/tile/sysdep.h
@@ -108,3 +108,7 @@
 #endif
 
 #endif /* __ASSEMBLER__ */
+
+/* On tilegx, 32-bit values must have their high 32 bits sign extended;
+   random values are not allowed.  */
+#define REGISTER_CAST_INT32_TO_INT64 1