repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'pull-request-2024-06-24' of https://gitlab.com/thuth/qemu into staging
[qemu/ar7.git]
/
scripts
/
coccinelle
/
swap_muldiv64.cocci
blob
b48b0d084a3000f9563f03d397545ff2e446ece0
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;
10
@@
11
12
-muldiv64(a,b,c)
13
+muldiv64(b,a,c)