pzhengqc
pzhengqc
For the following function foo, ```c long foo(long stride, int mvx, int mvy) { return (long)(mvy >> 2) * stride + (mvx >> 2); } ``` LLVM currently generates MUL+ADD,...
For the following function, ```c int f(int a, int b, int c) { return a*b + (c>>2); } ``` LLVM currently generates: ```asm f: mul w8, w1, w0 add w0,...
For the following function, ```c int f(int a, int b) { b -= (a 29; return b; } ``` LLVM generates: ```asm f: lsl w8, w0, #26 sub w0, w1,...