Re: [PATCH 1/2] x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 17, 2019 at 05:02:05PM -0700, Vaibhav Rustagi wrote:
> Compiling the purgatory code with clang results in using of mmx
> registers.
> 
> $ objdump -d arch/x86/purgatory/purgatory.ro | grep xmm
> 
>      112:	0f 28 00             	movaps (%rax),%xmm0
>      115:	0f 11 07             	movups %xmm0,(%rdi)
>      122:	0f 28 00             	movaps (%rax),%xmm0
>      125:	0f 11 47 10          	movups %xmm0,0x10(%rdi)
> 
> Add -mno-sse, -mno-mmx, -mno-sse2 to avoid generating SSE instructions.
> 
> Signed-off-by: Vaibhav Rustagi <vaibhavrustagi@xxxxxxxxxx>
> ---
>  arch/x86/purgatory/Makefile | 1 +
>  1 file changed, 1 insertion(+)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux