target/mips: Simplify decode_opc_mxu() ifdef'ry
[qemu/ar7.git] / scripts / coccinelle / swap_muldiv64.cocci
blobb48b0d084a3000f9563f03d397545ff2e446ece0
1 // replace muldiv64(i32, i64, x) by muldiv64(i64, i32, x)
2 @@
3 typedef uint64_t;
4 typedef int64_t;
5 typedef uint32_t;
6 typedef int32_t;
7 { uint32_t, int32_t, int, unsigned int } a;
8 { uint64_t, int64_t, long, unsigned long } b;
9 expression c;
12 -muldiv64(a,b,c)
13 +muldiv64(b,a,c)