You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// file: expr_gen.c
int f00(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 & vr1) ^ (vr3 | vr4);
}
int f01(int vr0, int vr1, int vr3)
{
return vr3 + vr0 * vr1;
}
int f02(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 * vr1) + (vr3 * vr4);
}
int f03(int vr0, int vr1, int vr3, int vr4, int vr7, int vr8, int vr10, int vr11,
int vr15, int vr16, int vr18, int vr19, int vr22, int vr23, int vr25, int vr26)
{
return (((vr0 + vr1) + (vr3 + vr4)) + ((vr7 + vr8) + (vr10 + vr11))) +
(((vr15 + vr16) + (vr18 + vr19)) + ((vr22 + vr23) + (vr25 + vr26)));
}
int f04(int vr0, int vr1, int vr3, int vr4, int vr7, int vr8, int vr10, int vr11,
int vr15, int vr16, int vr18, int vr19, int vr22, int vr23, int vr25, int vr26)
{
return (((vr0 - vr1) - (vr3 - vr4)) - ((vr7 - vr8) - (vr10 - vr11))) -
(((vr15 - vr16) - (vr18 - vr19)) - ((vr22 - vr23) - (vr25 - vr26)));
}
int f05(int vr0, int vr1, int vr3, int vr4, int vr7, int vr8, int vr10, int vr11)
{
return ((vr0 * vr1) + (vr3 * vr4)) * ((vr7 * vr8) + (vr10 * vr11));
}
int f06(int vr0, int vr1, int vr3)
{
return (vr0 << vr1) << vr3;
}
int f07(int vr0, int vr1, int vr3)
{
return vr0 << (vr1 << vr3);
}
int f08(int vr0, int vr1, int vr3)
{
return vr0 << (vr1 * vr3);
}
int f09(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 * vr1) << (vr3 * vr4);
}
int f10(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 << vr1) * (vr3 << vr4);
}
int f11(int vr0, int vr1, int vr3, int vr4, int vr7, int vr8, int vr10, int vr11,
int vr15, int vr16, int vr18, int vr19, int vr22, int vr23, int vr25, int vr26)
{
return (((vr0 * vr1) + (vr3 * vr4)) * ((vr7 * vr8) + (vr10 * vr11))) *
(((vr15 * vr16) + (vr18 * vr19)) * ((vr22 * vr23) + (vr25 * vr26)));
}
int f12(int vr0, int vr1, int vr3, int vr4, int vr7, int vr8, int vr10, int vr11,
int vr15, int vr16, int vr18, int vr19, int vr22, int vr23, int vr25, int vr26)
{
return (((vr0 * vr1) - (vr3 * vr4)) * ((vr7 * vr8) - (vr10 * vr11))) *
(((vr15 * vr16) - (vr18 * vr19)) * ((vr22 * vr23) - (vr25 * vr26)));
}
int f13(int vr0, int vr1, int vr3)
{
return (vr0 / vr1) / vr3;
}
int f14(int vr0, int vr1, int vr3)
{
return vr0 / (vr1 / vr3);
}
int f15(int vr0, int vr1, int vr3)
{
return vr0 / (vr1 << vr3);
}
int f16(int vr0, int vr1, int vr3)
{
return (vr0 / vr1) << vr3;
}
int f17(int vr0, int vr1, int vr3)
{
return vr0 << (vr1 / vr3);
}
int f18(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 / vr1) << (vr3 / vr4);
}
int f19(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 << vr1) / (vr3 << vr4);
}
int f20(int vr0, int vr1, int vr3)
{
return (vr0 % vr1) % vr3;
}
int f21(int vr0, int vr1, int vr3)
{
return vr0 % (vr1 % vr3);
}
int f22(int vr0, int vr1, int vr3)
{
return vr0 % (vr1 << vr3);
}
int f23(int vr0, int vr1, int vr3)
{
return (vr0 % vr1) << vr3;
}
int f24(int vr0, int vr1, int vr3)
{
return vr0 << (vr1 % vr3);
}
int f25(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 % vr1) << (vr3 % vr4);
}
int f26(int vr0, int vr1, int vr3, int vr4)
{
return (vr0 << vr1) % (vr3 << vr4);
}
int f27(int* vr0)
{
return 1000 + *vr0;
}
int f28(int** vr0)
{
return 123 << **vr0;
}
int f29(unsigned char* vr0, signed char* vr1, int* vr2)
{
return *vr2 = *vr0 + *vr1;
}
int f30(unsigned char* vr0, signed char* vr1, int* vr2)
{
return *vr2 = *vr1 + *vr0;
}
Given this file:
I do:
This errors out:
The text was updated successfully, but these errors were encountered: