out_args[0] = in_args[0];
}
+void
+munge_wlllww(void *args)
+{
+ volatile uint64_t *out_args = (volatile uint64_t*)args;
+ volatile uint32_t *in_args = (volatile uint32_t*)args;
+
+ out_args[5] = in_args[8];
+ out_args[4] = in_args[7];
+ out_args[3] = *(volatile uint64_t*)&in_args[5];
+ out_args[2] = *(volatile uint64_t*)&in_args[3];
+ out_args[1] = *(volatile uint64_t*)&in_args[1];
+ out_args[0] = in_args[0];
+}
+
void
munge_wllll(void *args)
{
out_args[0] = in_args[0];
}
+void
+munge_wwwlwww(void *args)
+{
+ volatile uint64_t *out_args = (volatile uint64_t*)args;
+ volatile uint32_t *in_args = (volatile uint32_t*)args;
+
+ out_args[6] = in_args[7];
+ out_args[5] = in_args[6];
+ out_args[4] = in_args[5];
+ out_args[3] = *(volatile uint64_t*)&in_args[3];
+ out_args[2] = in_args[2];
+ out_args[1] = in_args[1];
+ out_args[0] = in_args[0];
+}
+
void
munge_wwwl(void *args)
{
out_args[0] = in_args[0];
}
+void
+munge_wwwwllww(void *args)
+{
+ volatile uint64_t *out_args = (volatile uint64_t*)args;
+ volatile uint32_t *in_args = (volatile uint32_t*)args;
+
+ out_args[7] = in_args[9];
+ out_args[6] = in_args[8];
+ out_args[5] = *(volatile uint64_t*)&in_args[6];
+ out_args[4] = *(volatile uint64_t*)&in_args[4];
+ out_args[3] = in_args[3];
+ out_args[2] = in_args[2];
+ out_args[1] = in_args[1];
+ out_args[0] = in_args[0];
+}
+
void
munge_wwwwl(void *args)
{
/* Nothing to do, already all 64-bit */
}
+void
+munge_llll(void *args __unused)
+{
+ /* Nothing to do, already all 64-bit */
+}
+
void
munge_ll(void *args __unused)
{