]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/cr16/cr16.c
poly_int: PUSH_ROUNDING
[thirdparty/gcc.git] / gcc / config / cr16 / cr16.c
index ddadab2ca7b98a3d128a477ec6843437817022ad..9ea02a967ff4e3db932541b6696a251f4cf49110 100644 (file)
@@ -2215,6 +2215,14 @@ cr16_emit_logical_di (rtx *operands, enum rtx_code code)
   return "";
 }
 
+/* Implement PUSH_ROUNDING.  */
+
+poly_int64
+cr16_push_rounding (poly_int64 bytes)
+{
+  return (bytes + 1) & ~1;
+}
+
 /* Initialize 'targetm' variable which contains pointers to functions 
    and data relating to the target machine.  */