goldsteinn wrote: > There's a lot to understand here. Could you split it into two patches, for avg and add/sub sat? Or are they inextricably intertwined? They are not. Will split. https://github.com/llvm/llvm-project/pull/110329