Broke register preservation in x264_cpu_cpuid and x264_cpu_xgetbv.
Did not cause any problems.
mov eax, r0d
xor ecx, ecx
cpuid
- pop rsi
- mov [rsi], eax
- pop rsi
- mov [rsi], ebx
- pop rsi
- mov [rsi], ecx
- pop rsi
- mov [rsi], edx
+ pop r4
+ mov [r4], eax
+ pop r4
+ mov [r4], ebx
+ pop r4
+ mov [r4], ecx
+ pop r4
+ mov [r4], edx
pop rbx
RET
push r1
mov ecx, r0d
xgetbv
- pop rsi
- mov [rsi], eax
- pop rsi
- mov [rsi], edx
+ pop r4
+ mov [r4], eax
+ pop r4
+ mov [r4], edx
RET
%if ARCH_X86_64 == 0