#include <inttypes.h>

int8_t int8_bitmod_mask(int8_t x,int8_t y)
{
  x >>= y & 7;
  return -(1 & x);
}