# Re: \[PATCH 02/14\] bpf/tests: Add BPF\_MOV tests for zero and sign extension

- From: Yonghong Song \<hidden\>
- Date: 2021-07-28 22:36:36 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/07/7775004
- Thread: https://ratatoskr.run/netdev/2021/07/7774981/t.md

```text


On 7/28/21 10:04 AM, Johan Almbladh wrote:
> Tests for ALU32 and ALU64 MOV with different sizes of the immediate
> value. Depending on the immediate field width of the native CPU
> instructions, a JIT may generate code differently depending on the
> immediate value. Test that zero or sign extension is performed as
> expected. Mainly for JIT testing.
>
> Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>

Acked-by: Yonghong Song <redacted>
```
