]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/stormy16/stormy16.c
poly_int: PUSH_ROUNDING
[thirdparty/gcc.git] / gcc / config / stormy16 / stormy16.c
index a3557940d9ef6823ab456243d0e2bd7557eca7d9..002eeee8f8ceb0d94aeb014326c56e32dea0c9ef 100644 (file)
@@ -2635,6 +2635,14 @@ xstormy16_modes_tieable_p (machine_mode mode1, machine_mode mode2)
 {
   return mode1 != BImode && mode2 != BImode;
 }
+
+/* Implement PUSH_ROUNDING.  */
+
+poly_int64
+xstormy16_push_rounding (poly_int64 bytes)
+{
+  return (bytes + 1) & ~1;
+}
 \f
 #undef  TARGET_ASM_ALIGNED_HI_OP
 #define TARGET_ASM_ALIGNED_HI_OP "\t.hword\t"