From nobody Tue Nov 12 09:23:20 2024 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XngvR6SjXz5bktR for ; Tue, 12 Nov 2024 09:23:31 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XngvR5vQwz4r1Z; Tue, 12 Nov 2024 09:23:31 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731403411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iHDEUNjxh5tpY4f+VFvQQSqFagYfJeIt3CjunCQKMB8=; b=a8zTO/VjQaGka+1LEj2dH1CMcg28CvQb2bJAJdmboi2VakMpxXmr7CDFahmN3gitAZhL1B sT/3pu6aA0I7YUX0MCHJAOIBUK368EZQfwP5O220mGTarwyVpEn/+BRWMn+87R0fbwP0Ja 4jumnUyqhz5eC6/DmojvkjypnbRt1cy8EAIsrWy0WsAm8PWUe6Qv59nnusYt9e72Wcv2jH D4h6vJKs/qVFeZByajaEExQfi2N+SQen6TvjVf3poVvBAl7M0CO5ZgZxlN6g8DSQ8VkZus roQuBikCT6YNeVTPAFnqCv50J1XF0ImQqlZtusLG65h9ons9OpNTHkbpueBQBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731403411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iHDEUNjxh5tpY4f+VFvQQSqFagYfJeIt3CjunCQKMB8=; b=rbc+HCMTzp7uT/7vYQpegDocNNGAZ+3vQX8L2/4Bk3VI9fDkEX68XLCTa7Rneoyoc0rbBr 2tVj4AG8L4FRuU4fYV4oUxYYgX5IesD4Bo/sU+advkP9Aodf8Nuzp3dksxAFqswd23LLR1 IT/5gHSPl0EQFPji1tqNayTyk5PBwBjNOxFRjKwsU7fYYO07oGkuXWcegmJNUFw2DEmaAi efCzgrGIMvEBaqlYGkKOPElc5j3jTOLiMK8gUHadSWFLA/bkzNlwMiwx/btA5sxuET2oXo FNN6R3rndrLuObErX/CgXIRBTjFCe6/mgPfVBxwoo2ZOYmQGrlgt3cykfCtnMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731403411; a=rsa-sha256; cv=none; b=dLz99p3/uVmM2pq3cpY4lvi1oAGIUxXNcujDfVJE+SNEbpZ+lCCYNkdGvFJDbcAi4f0u/u K55nLEQqb8CDCOc5ESNh6e/GVmA2GA8V7dtxm4E2xb0IQoAbQ1ztbLpDf9svxVIMZnV06y /kAOCpDzLu77QV9dECZcdLTPoIU1HPz6dRPMcQnLThQ+0YNQb/dx73sqmIC6NuJcSYQi8F /2L72g41/D5YhpShHA/5fC4kz6s1p1IJ7vxWfl45TD18vQYU+vC6X3S8ooAHQLvs395J+A mlHdTDpo14QWnz04KWFa2JQo5I9qILyA5f3wdExKKFYNhg0FqHli7l867zJ9bg== Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XngvR5VKtzbky; Tue, 12 Nov 2024 09:23:31 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-6cbf6809fb5so4992576d6.3; Tue, 12 Nov 2024 01:23:31 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVR0CxwGAZwoO6OSYZrgAPqRHX1WK+GEmQHayX/FRTcuXnPRKCh+f2rf7UnQ+6MKfZturA6xw==@freebsd.org, AJvYcCVbPbDxR4fVahoAMJB7sjbp76ofnOi2G/333ZduJ4Wbcm8QgIIgZR3qxK/xYC8cupThz05yrBw=@freebsd.org X-Gm-Message-State: AOJu0Yw3GHQw4Bkvkobk8fZYzt0FR75Wvf2lKo2olD212o1vwrbfcMsL HwAbE/gzDyY3TeU+cDPAmdZ/ZHmmaAR7a4lFreGK86UMhYUjQUGgnwPOfhjzJJJrQDKBdUBVEX9 PNm30nh7MfpAOtPbE/B/z5O9cLaA= X-Google-Smtp-Source: AGHT+IFAVwDmAPQA6AwUduCpNEo/hQuMQR0egcfk73gERHtz1ogWlk3BqNdKcfhXGDL0xPXUPDM8t6e6yINALR5b8kc= X-Received: by 2002:ac8:5783:0:b0:460:9362:d567 with SMTP id d75a77b69052e-463093f1cf7mr96090981cf.11.1731403411258; Tue, 12 Nov 2024 01:23:31 -0800 (PST) List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Tue, 12 Nov 2024 09:23:20 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Requiring SSE2 by default for i386 To: Alan Somers Cc: gnome@freebsd.org, ashish@freebsd.org, dmgk@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004a899b0626b3c5d0" --0000000000004a899b0626b3c5d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, As upstream defaults to use SSE2 on amd64/i386 I'm reproducing it on port. I still don't get what this port has to do with rust SSE2 i386 requirement as it doesn't use rust code, but I think we will get some performance improvements. If you need any change on port, please feel free to change it. https://cgit.freebsd.org/ports/commit/?id=3D78b13cb9ecb8c0c0f59e09ba8d0264d= 023d6f688 Cheers, Alan Somers escreveu (segunda, 11/11/2024 =C3=A0(s) 2= 0:50): > Sounds good. > > On Mon, Nov 11, 2024 at 1:30=E2=80=AFPM Nuno Teixeira wrote: > > > > Ah, sure. > > > > I will add OPTIONS_DEFAULT=3DSSE2 and check if it will be problems for > amd64 and aarch64. > > If everything ok then use this option since upstream default is SSE2 on > by default. > > > > Sorry as I misread past email. > > > > Alan Somers escreveu (segunda, 11/11/2024 =C3=A0(= s) > 16:25): > >> > >> I don't know what that "QMAKE_ON" part means. But when I do "make > >> config", it shows the SSE2 option disabled by default. > >> > >> On Mon, Nov 11, 2024 at 5:20=E2=80=AFAM Nuno Teixeira > wrote: > >> > > >> > (...) > >> > > >> > Just took a look at port Makefile and it's alleady set: > >> > > >> > OPTIONS_DEFINE=3D SSE2 > >> > SSE2_DESC=3D Enable SSE2 optimization > >> > SSE2_QMAKE_ON=3D CONFIG+=3Dsse2 > >> > SSE2_QMAKE_OFF=3D CONFIG+=3Dno-sse2 > >> > > >> > This port does not have rust code. > >> > > >> > Alan Somers escreveu (domingo, 10/11/2024 =C3= =A0(s) > 15:51): > >> >> > >> >> On Sun, Nov 10, 2024 at 7:00=E2=80=AFAM Nuno Teixeira > wrote: > >> >> > > >> >> > Hello, > >> >> > > >> >> >> graphics/fraqtive > >> >> > > >> >> > > >> >> > > https://github.com/mimecorg/fraqtive/blob/02914797f47d26c4098f4a3a945716b= 13998a8cc/INSTALL#L43 > >> >> > Upstream says SSE2 is enabled by default. > >> >> > > >> >> > What should we do here? > >> >> > >> >> Just set OPTIONS_DEFAULT_i386=3DSSE2 or OPTIONS_DEFAULT=3DSSE2 in t= he > port Makefile. > >> > > >> > > >> > > >> > -- > >> > Nuno Teixeira > >> > FreeBSD UNIX: Web: https://FreeBSD.org > > > > > > > > -- > > Nuno Teixeira > > FreeBSD UNIX: Web: https://FreeBSD.org > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000004a899b0626b3c5d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

As upstream defaults = to use SSE2 on amd64/i386 I'm reproducing it on port.
I s= till don't get what this port has to do with rust SSE2 i386 requirement= as it doesn't use rust code, but I think we will get some performance = improvements.

If you need any change on port, = please feel free to change it.


Cheers,


Alan Somers <asomers@freebsd.org> escreveu (segunda, 11/11/2024 =C3= =A0(s) 20:50):
S= ounds good.

On Mon, Nov 11, 2024 at 1:30=E2=80=AFPM Nuno Teixeira <eduardo@freebsd.org> wrote:<= br> >
> Ah, sure.
>
> I will add OPTIONS_DEFAULT=3DSSE2 and check if it will be problems for= amd64 and aarch64.
> If everything ok then use this option since upstream default is SSE2 o= n by default.
>
> Sorry as I misread past email.
>
> Alan Somers <asomers@freebsd.org> escreveu (segunda, 11/11/2024 =C3=A0(s) 16:2= 5):
>>
>> I don't know what that "QMAKE_ON" part means.=C2=A0 = But when I do "make
>> config", it shows the SSE2 option disabled by default.
>>
>> On Mon, Nov 11, 2024 at 5:20=E2=80=AFAM Nuno Teixeira <eduardo@freebsd.org&g= t; wrote:
>> >
>> > (...)
>> >
>> > Just took a look at port Makefile and it's alleady set: >> >
>> > OPTIONS_DEFINE=3D SSE2
>> > SSE2_DESC=3D=C2=A0 =C2=A0 =C2=A0 Enable SSE2 optimization
>> > SSE2_QMAKE_ON=3D=C2=A0 CONFIG+=3Dsse2
>> > SSE2_QMAKE_OFF=3D CONFIG+=3Dno-sse2
>> >
>> > This port does not have rust code.
>> >
>> > Alan Somers <asomers@freebsd.org> escreveu (domingo, 10/11/2024 =C3= =A0(s) 15:51):
>> >>
>> >> On Sun, Nov 10, 2024 at 7:00=E2=80=AFAM Nuno Teixeira <= ;eduardo@freebsd.o= rg> wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> >> graphics/fraqtive
>> >> >
>> >> >
>> >> > https://github.com/mimecorg/fraqtive/blob/02914797f47d26c4= 098f4a3a945716b13998a8cc/INSTALL#L43
>> >> > Upstream says SSE2 is enabled by default.
>> >> >
>> >> > What should we do here?
>> >>
>> >> Just set OPTIONS_DEFAULT_i386=3DSSE2 or OPTIONS_DEFAULT= =3DSSE2 in the port Makefile.
>> >
>> >
>> >
>> > --
>> > Nuno Teixeira
>> > FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0W= eb:=C2=A0 https://FreeBSD.org
>
>
>
> --
> Nuno Teixeira
> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0= https= ://FreeBSD.org


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--0000000000004a899b0626b3c5d0--