lkml.org 
[lkml]   [2023]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 7/9] LoongArch: Tweak CFLAGS for Clang compatibility
    From
    On 6/24/23 01:00, Xi Ruoyao wrote:
    > On Fri, 2023-06-23 at 21:43 +0800, WANG Xuerui wrote:
    >
    >> -cflags-y                       += -G0 -pipe -msoft-float
    > -msoft-float should not be removed. Our consensus (made when I was
    > developing https://gcc.gnu.org/r13-6500) is -mabi=lp64s does *not*
    > disable floating point instructions, but only disable FPRs for passing
    > arguments and return values. So w/o -msoft-float (or -mfpu=none) GCC is
    > allowed to generate FP instructions everywhere in kernel and it may
    > cause kernel FPD exception in the future.
    Hmm, now I remember (still vaguely) about the discussion... I'll have to
    check how to minimize churn around FPU-touching code though if
    -msoft-float is to be kept.

    --
    WANG "xen0n" Xuerui

    Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/

    \
     
     \ /
      Last update: 2023-06-23 19:07    [W:4.279 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site