diff options
Diffstat (limited to 'rust/zerocopy/benches/split_at_dynamic_padding.x86-64')
| -rw-r--r-- | rust/zerocopy/benches/split_at_dynamic_padding.x86-64 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/zerocopy/benches/split_at_dynamic_padding.x86-64 b/rust/zerocopy/benches/split_at_dynamic_padding.x86-64 new file mode 100644 index 000000000..6eaf5a004 --- /dev/null +++ b/rust/zerocopy/benches/split_at_dynamic_padding.x86-64 @@ -0,0 +1,12 @@ +bench_split_at_dynamic_padding: + mov rax, rdi + cmp rcx, rdx + jbe .LBB5_2 + xor esi, esi + mov qword ptr [rax], rsi + ret +.LBB5_2: + mov qword ptr [rax + 8], rdx + mov qword ptr [rax + 16], rcx + mov qword ptr [rax], rsi + ret |
