Re: [PATCH] libgccjit: Add support for creating temporary variables

2024-10-11 Thread Antoni Boucher
Hi, David. Can you please review the updated patch? Can I merge it? Thanks. Le 2024-02-29 à 16 h 11, Antoni Boucher a écrit : Hi and thanks for the review! Here's the updated patch. Le 2024-01-24 à 09 h 54, David Malcolm a écrit : On Fri, 2024-01-19 at 16:54 -0500, Antoni Boucher wrote

Re: [PATCH] target: Fix asm codegen for vfpclasss* and vcvtph2* instructions

2024-10-18 Thread Antoni Boucher
Thanks for the review. Here's the updated patch. Le 2024-10-17 à 21 h 50, Hongtao Liu a écrit : On Fri, Oct 18, 2024 at 9:08 AM Antoni Boucher wrote: Hi. This is a patch for the bug 116725. I'm not sure if it is a good fix, but it seems to do the job. If you have suggestions

[PATCH] target: Fix asm codegen for vfpclasss* and vcvtph2* instructions

2024-10-17 Thread Antoni Boucher
disappeared (69 tests): (Eeek!) g++: c-c++-common/tsan/atomic_stack.c -O0 output pattern test […] # No differences found in 2 common sum files Thanks.From 20ba6ec63d29b5d1ac93bdb9d461527eaf8962f5 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Mon, 23 Sep 2024 18:58:47 -0400 Subject: [PATCH]

Re: Frontend access to target features (was Re: [PATCH] libgccjit: Add ability to get CPU features)

2024-10-29 Thread Antoni Boucher
David: Arthur reviewed the gccrs patch and would be OK with it. Could you please take a look and review it? Le 2024-10-17 à 11 h 38, Antoni Boucher a écrit : Hi. Thanks for the review, David! I talked to Arthur and he's OK with having a file to include in both gccrs and libgccjit. I

Re: [PATCH] target: Fix asm codegen for vfpclasss* and vcvtph2* instructions

2024-10-24 Thread Antoni Boucher
Thanks. Did you review the new patch? Can I push it to master? Le 2024-10-20 à 22 h 01, Hongtao Liu a écrit : On Sat, Oct 19, 2024 at 2:06 AM Antoni Boucher wrote: Thanks for the review. Here's the updated patch. Le 2024-10-17 à 21 h 50, Hongtao Liu a écrit : On Fri, Oct 18, 2024

Re: Frontend access to target features (was Re: [PATCH] libgccjit: Add ability to get CPU features)

2024-10-29 Thread Antoni Boucher
Thanks, David! Did you review the updated patch that depends on this gccrs patch? Is it also OK to merge when the PR in gccrs is merged? Le 2024-10-29 à 17 h 04, David Malcolm a écrit : On Tue, 2024-10-29 at 07:59 -0400, Antoni Boucher wrote: David: Arthur reviewed the gccrs patch and would

Re: [PATCH v3] [GCCJIT] support dynamic alloca stub

2024-11-11 Thread Antoni Boucher
Hi and thanks for the patch. I would rather avoid having to hard-code the types of built-in functions, especially since we can already access them via the function gcc_jit_context_get_target_builtin_function that is available in this patch: https://gcc.gnu.org/pipermail/jit/2023q4/001725.html

Re: Frontend access to target features (was Re: [PATCH] libgccjit: Add ability to get CPU features)

2024-10-17 Thread Antoni Boucher
55, David Malcolm a écrit : On Sun, 2024-03-10 at 12:05 +0100, Iain Buclaw wrote: Excerpts from David Malcolm's message of März 5, 2024 4:09 pm: On Thu, 2023-11-09 at 19:33 -0500, Antoni Boucher wrote: Hi. See answers below. On Thu, 2023-11-09 at 18:04 -0500, David Malcolm wrote: On Thu, 2023

Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2024-11-29 Thread Antoni Boucher
Oh, nice. I'll send my future patches on the forgejo instance, then. Le 2024-11-20 à 17 h 35, Mark Wielaard a écrit : Hi Antoni, On Wed, Nov 20, 2024 at 11:11:01AM -0500, Antoni Boucher wrote: From what I understand, pull requests on forge.sourceware.org can be removed at any time,

Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2024-11-20 Thread Antoni Boucher
Hi Mark. I've been following this forge experiment with great interest; thanks for doing this. I first created this GitHub repo as a way to keep track of the different status of my patches. From what I understand, pull requests on forge.sourceware.org can be removed at any time, so I could l

Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2024-11-14 Thread Antoni Boucher
ew: https://github.com/antoyo/libgccjit/pull/5) Thanks. Le 2024-06-26 à 18 h 49, David Malcolm a écrit : On Thu, 2023-11-23 at 17:17 -0500, Antoni Boucher wrote: Hi. I did split the patch and sent one for the bfloat16 support and another one for the vector support. Here's the updated patch

Re: [PATCH] libgccjit: Fix crash on some targets

2024-12-05 Thread Antoni Boucher
Thanks for the review. See explanations and questions below. Le 2024-12-05 à 17 h 03, Andrew Pinski a écrit : On Thu, Dec 5, 2024 at 1:46 PM Antoni Boucher wrote: Hi. This is a patch for the bug 117886. I ran the jit tests on x86-64 and there are as much failures as on the master branch (4

[PATCH] aarch64: Fix ICE happening in SET_TYPE_VECTOR_SUBPARTS with libgccjit

2024-12-05 Thread Antoni Boucher
the review.From 9769e3749cf742b033ad26fd0869d136912d8758 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 4 Dec 2024 20:59:53 -0500 Subject: [PATCH] aarch64: Fix ICE happening in SET_TYPE_VECTOR_SUBPARTS with libgccjit The structure aarch64_simd_type_info was split in 2 because we do not wa

Re: [PATCH] aarch64: Fix ICE happening in SET_TYPE_VECTOR_SUBPARTS with libgccjit

2024-12-07 Thread Antoni Boucher
The patch was approved by Richard Sandiford on the forge (https://forge.sourceware.org/gcc/gcc-TEST/pulls/29#issuecomment-490). Le 2024-12-05 à 21 h 35, Antoni Boucher a écrit : Hi. This is a patch for the bug 117923. I'd like to know if there's a simpler fix for this. I tried keepi

[PATCH] libgccjit: Fix crash on some targets

2024-12-05 Thread Antoni Boucher
of a bunch of tests. Thanks for the review.From 4ea0377444f476f4cb1b5f07a3f92cf99d7e5af4 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 4 Dec 2024 19:38:38 -0500 Subject: [PATCH] libgccjit: Fix crash on some targets gcc/jit/ChangeLog: PR jit/117886 * dummy-frontend.cc: Return NULL_TREE

Re: [pushed: r15-7126] jit: fix startup on aarch64

2025-01-22 Thread Antoni Boucher
Hi David. I had a patch for this here: https://github.com/antoyo/libgccjit/pull/20 The fact that you removed the debug_tree (and abort) will make it harder to figure out what the missing types to handle are. This will also probably make it hard for people to understand why they get a type error

Re: [pushed: r15-7126] jit: fix startup on aarch64

2025-01-23 Thread Antoni Boucher
Le 2025-01-23 à 13 h 13, David Malcolm a écrit : On Wed, 2025-01-22 at 08:47 -0500, Antoni Boucher wrote: Hi David. Hi Antoni I went ahead and pushed this patch since without it even simple unit tests like test-factorial.c were failing for me on aarch64; in particular, the build of emacs

Re: Frontend access to target features (was Re: [PATCH] libgccjit: Add ability to get CPU features)

2025-03-21 Thread Antoni Boucher
Hi David. My gccrs patch was merged, so I was wondering if you could please review this patch again. It was also posted here on GitHub: https://github.com/antoyo/libgccjit/pull/6 Thanks. Le 29/10/2024 à 17:04, David Malcolm a écrit : On Tue, 2024-10-29 at 07:59 -0400, Antoni Boucher wrote

Re: [pushed: r15-7126] jit: fix startup on aarch64

2025-03-21 Thread Antoni Boucher
builtin functions. What are your thoughts on this? Regards. Le 23/01/2025 à 14:01, Antoni Boucher a écrit : Le 2025-01-23 à 13 h 13, David Malcolm a écrit : On Wed, 2025-01-22 at 08:47 -0500, Antoni Boucher wrote: Hi David. Hi Antoni I went ahead and pushed this patch since without it

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-02-12 Thread Antoni Boucher via Gcc-patches
Hi. I'd like to know what's the status of the review for this patch. (Same for my other patch 96889: add some reflection functions in the jit C api) Thanks. On Tue, Jul 21, 2020 at 11:29:57PM +0200, Andrea Corallo wrote: Hi Antoni, a couple of nits and some thoughts. Antoni Bouch

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-02-20 Thread Antoni Boucher via Gcc-patches
Hi. Thanks for your feedback! See answers below: On Sat, Feb 20, 2021 at 11:20:35AM -0700, Tom Tromey wrote: "Antoni" == Antoni Boucher via Gcc-patches writes: Antoni> gcc/jit/ Antoni> PR target/95498 Antoni> * jit-playback.c: Add support to handle truncation a

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-08-31 Thread Antoni Boucher via Gcc-patches
David: PING Le jeudi 29 juillet 2021 à 08:59 -0400, Antoni Boucher a écrit : > David: PING > > Le lundi 19 juillet 2021 à 12:10 -0400, Antoni Boucher a écrit : > > I'm sending the patch once again for review/approval. > > > > I fixed the doc to use the new func

Re: [PATCH] libgccjit: add some reflection functions in the jit C api [PR96889]

2020-10-02 Thread Antoni Boucher via Gcc-patches
Hi. Thanks for the review. I attached the updated patch file. I don't have a copyright assignment, but I'll look at that. On Fri, Oct 02, 2020 at 04:24:26PM -0400, David Malcolm wrote: On Fri, 2020-10-02 at 16:17 -0400, David Malcolm wrote: On Tue, 2020-09-01 at 21:01 -0400, Antoni B

Re: [PATCH] libgccjit: add some reflection functions in the jit C api [WIP]

2020-10-03 Thread Antoni Boucher via Gcc-patches
ing a few other functions. On Fri, Oct 02, 2020 at 04:24:26PM -0400, David Malcolm wrote: On Fri, 2020-10-02 at 16:17 -0400, David Malcolm wrote: On Tue, 2020-09-01 at 21:01 -0400, Antoni Boucher via Jit wrote: > Hello. > This WIP patch implements new reflection functions in the C API as >

Re: [PATCH] libgccjit: Add support for sized integer types, including 128-bit integers [PR95325]

2022-04-08 Thread Antoni Boucher via Gcc-patches
David, it seems you missed this email that contains the updated patch and a few questions. Attaching the patch again. Thanks for the reviews! On Fri, 2022-01-21 at 11:22 -0500, Antoni Boucher via Jit wrote: > David: this is the email I was talking about in my other email. > Here's

Re: rustc_codegen_gcc and libgccjit for GCC 12 ?

2022-04-08 Thread Antoni Boucher via Gcc-patches
On Fri, 2022-04-08 at 15:36 -0400, David Malcolm wrote: > I'm excited to read that rustc_codegen_gcc, the libgccjit-based > backend > for rustc can now bootstrap rustc: >   https://blog.antoyo.xyz/rustc_codegen_gcc-progress-report-10 > > I've been focusing on the analyzer, and so haven't been as o

Re: [PATCH] libgccjit: Add support for setting the alignment [PR104293]

2022-04-09 Thread Antoni Boucher via Gcc-patches
Here's the updated patch. On Fri, 2022-04-08 at 15:01 -0400, David Malcolm wrote: > On Sun, 2022-01-30 at 20:38 -0500, Antoni Boucher via Gcc-patches > wrote: > > Hi. > > This patch adds support for setting the alignment of variables in > > libgccjit. > >

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-04-09 Thread Antoni Boucher via Gcc-patches
Here's the updated patch. On Fri, 2022-04-08 at 15:22 -0400, David Malcolm wrote: > On Fri, 2022-01-21 at 18:41 -0500, Antoni Boucher wrote: > > Hi. > > Here's the updated patch. > > > > Thanks.  Review below: > > [...snip...] > > > diff

Re: [PATCH] libgccjit: Add support for register variables [PR104072]

2022-01-18 Thread Antoni Boucher via Gcc-patches
Also, I put the extern in gcc/system.h, but I'm not sure it's the right place. Where should I put it? Le lundi 17 janvier 2022 à 19:46 -0500, Antoni Boucher via Jit a écrit : > I missed the comment about the new define, so here's the updated > patch. > > Le lundi 17

Re: [PATCH] libgccjit: Add support for sized integer types, including 128-bit integers [PR95325]

2022-01-21 Thread Antoni Boucher via Gcc-patches
écrit : > On Tue, 2021-05-18 at 14:53 +0200, Jakub Jelinek via Jit wrote: > > On Tue, May 18, 2021 at 08:23:56AM -0400, Antoni Boucher via Gcc- > > patches wrote: > > > Hello. > > > This patch add support for sized integer types. > > > Maybe it should c

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-21 Thread Antoni Boucher via Gcc-patches
Hi. Here's the updated patch. See comments below. Le mardi 18 janvier 2022 à 18:06 -0500, David Malcolm a écrit : > On Mon, 2022-01-17 at 19:30 -0500, Antoni Boucher via Gcc-patches > wrote: > > I was missing the define, so I added it. > > Here's the new patch with i

Re: [PATCH] libgccjit: Add support for register variables [PR104072]

2022-01-22 Thread Antoni Boucher via Gcc-patches
Hi. Le mardi 18 janvier 2022 à 18:49 -0500, David Malcolm a écrit : > On Mon, 2022-01-17 at 19:46 -0500, Antoni Boucher via Gcc-patches > wrote: > > I missed the comment about the new define, so here's the updated > > patch. > > Thanks for the patch. > > &

Re: [PATCH] libgccjit: Add option to hide stderr logs [PR104073]

2022-01-23 Thread Antoni Boucher via Gcc-patches
Thanks for the review. Here's the updated patch. Le mardi 18 janvier 2022 à 18:22 -0500, David Malcolm a écrit : > On Mon, 2022-01-17 at 21:02 -0500, Antoni Boucher via Gcc-patches > wrote: > > Hi. > > This option will be useful for rustc_codegen_gcc to hide the error &g

Re: [PATCH] libgccjit: Add support for register variables [PR104072]

2022-01-24 Thread Antoni Boucher via Gcc-patches
Indeed, I forgot to attach the patch. Le lundi 24 janvier 2022 à 18:20 -0500, David Malcolm a écrit : > On Sat, 2022-01-22 at 19:29 -0500, Antoni Boucher wrote: > > Hi. > > > > Le mardi 18 janvier 2022 à 18:49 -0500, David Malcolm a écrit : > > > On Mon, 2022-01-17

Re: [PATCH] libgccjit: Add support for register variables [PR104072]

2022-01-25 Thread Antoni Boucher via Gcc-patches
See answers below. Le lundi 24 janvier 2022 à 18:20 -0500, David Malcolm a écrit : > On Sat, 2022-01-22 at 19:29 -0500, Antoni Boucher wrote: > > Hi. > > > > Le mardi 18 janvier 2022 à 18:49 -0500, David Malcolm a écrit : > > > On Mon, 2022-01-17 at 19:46 -0500,

[PATCH] libgccjit: Add support for setting the alignment [PR104293]

2022-01-30 Thread Antoni Boucher via Gcc-patches
Boucher Date: Tue, 25 Jan 2022 21:12:32 -0500 Subject: [PATCH] libgccjit: Add support for setting the alignment [PR104293] 2022-01-30 Antoni Boucher gcc/jit/ PR jit/104293 * docs/topics/compatibility.rst (LIBGCCJIT_ABI_24): New ABI tag. * docs/topics/expressions.rst: Add documentation for the

Re: [PATCH] libgccjit: Add support for register variables [PR104072]

2022-02-09 Thread Antoni Boucher via Gcc-patches
Here's the updated patch. Le mardi 25 janvier 2022 à 12:13 -0500, Antoni Boucher via Jit a écrit : > See answers below. > > Le lundi 24 janvier 2022 à 18:20 -0500, David Malcolm a écrit : > > On Sat, 2022-01-22 at 19:29 -0500, Antoni Boucher wrote: > > > Hi. > >

Re: [PATCH] libgccjit: Add support for setting the link section of global variables [PR100688]

2021-11-19 Thread Antoni Boucher via Gcc-patches
Thanks for your reviews! Here's the updated patch, ready for another review. See comments/questions below. I'll update the other patches over the weekend. Le jeudi 20 mai 2021 à 15:29 -0400, David Malcolm a écrit : > On Wed, 2021-05-19 at 20:32 -0400, Antoni Boucher via Jit wro

Re: [PATCH] libgccjit: Add support for types used by atomic builtins [PR96066] [PR96067]

2021-11-20 Thread Antoni Boucher via Gcc-patches
Hi. Here's the updated patch. Thanks for the review! Le jeudi 20 mai 2021 à 16:24 -0400, David Malcolm a écrit : > On Mon, 2021-05-17 at 21:02 -0400, Antoni Boucher via Jit wrote: > > Hello. > > This patch fixes the issue with using atomic builtins in libgccjit. >

Re: [PATCH] libgccjit: Add support for setting the link section of global variables [PR100688]

2021-11-20 Thread Antoni Boucher via Gcc-patches
Hi. Here's the updated patch. See comments below. Thanks for the review! Le samedi 20 novembre 2021 à 11:20 -0500, David Malcolm a écrit : > On Sat, 2021-11-20 at 00:58 -0500, Antoni Boucher wrote: > > Thanks for your reviews! > > > > Here's the updated patch, re

Re: [PATCH] libgccjit: Add support for TLS variable [PR95415]

2021-11-20 Thread Antoni Boucher via Gcc-patches
Hi. Here's the updated patch. See comments below. Thanks for your reviews! Le jeudi 20 mai 2021 à 16:11 -0400, David Malcolm a écrit : > On Tue, 2021-05-18 at 20:43 -0400, Antoni Boucher via Gcc-patches > wrote: > > Hello. > > This patch adds support for TLS variables. >

Re: [PATCH] libgccjit: Add support for types used by atomic builtins [PR96066] [PR96067]

2021-11-21 Thread Antoni Boucher via Gcc-patches
Thanks for the review! I updated the patch. See notes below. Le samedi 20 novembre 2021 à 13:50 -0500, David Malcolm a écrit : > On Sat, 2021-11-20 at 11:27 -0500, Antoni Boucher wrote: > > Hi. > > Here's the updated patch. > > Thanks for the review! > &

Re: [PATCH] libgccjit: Add function to set the initial value of a global variable [PR96089]

2021-11-22 Thread Antoni Boucher via Gcc-patches
-0400, Antoni Boucher a écrit : > David: this one wasn't reviewed yet by you, so you can review it. > > Le jeudi 20 mai 2021 à 21:27 -0400, Antoni Boucher a écrit : > > Hi. > > > > I made this patch to set an arbitrary value to a global variable. > > > &g

Re: [PATCH] libgccjit: Add support for types used by atomic builtins [PR96066] [PR96067]

2021-12-03 Thread Antoni Boucher via Gcc-patches
David: PING In case you missed it, that's the last patch left to review for now. Le dimanche 21 novembre 2021 à 16:44 -0500, Antoni Boucher a écrit : > Thanks for the review! > I updated the patch. > > See notes below. > > Le samedi 20 novembre 2021 à 13:50 -0500

Re: SV: [PATCH v2] jit: Add support for global rvalue initialization and ctors

2021-12-12 Thread Antoni Boucher via Gcc-patches
gt; I figured it required too much string compares for the field names > and > pointer compares for the field object were more appropriate. To > create > dummy field objects were also kinda heavy. > > I'll address the points. > > Regards, Petter > > > Fr

Re: SV: [PATCH v2] jit: Add support for global rvalue initialization and ctors

2021-12-12 Thread Antoni Boucher via Gcc-patches
; I'll address the points. > > Regards, Petter > > > Från: David Malcolm > Skickat: den 9 december 2021 20:39 > Till: Petter Tomner; gcc-patches@gcc.gnu.org; j...@gcc.gnu.org; Antoni > Boucher > Ämne: Re: [PATCH v2] jit: Add support for global rvalue > initi

Re: SV: [PATCH v2] jit: Add support for global rvalue initialization and ctors

2021-12-12 Thread Antoni Boucher via Gcc-patches
ch string compares for the field names > and > pointer compares for the field object were more appropriate. To > create > dummy field objects were also kinda heavy. > > I'll address the points. > > Regards, Petter > > > Från: David Malcolm > Skickat: den

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2020-11-03 Thread Antoni Boucher via Gcc-patches
I was missing a check in gcc_jit_struct_get_field, I added it in this new patch. On Thu, Oct 15, 2020 at 05:52:33PM -0400, David Malcolm wrote: On Thu, 2020-10-15 at 13:39 -0400, Antoni Boucher wrote: Thanks. I updated the patch with these changes. Thanks for patch; review below. Sorry if

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-09-27 Thread Antoni Boucher via Gcc-patches
I fixed an issue (it would show an error message when gcc_jit_type_dyncast_function_ptr_type was called on a type different than a function pointer type). Here's the updated patch. Le vendredi 18 juin 2021 à 16:37 -0400, David Malcolm a écrit : > On Fri, 2021-06-18 at 15:41 -0400, Antoni

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-11-14 Thread Antoni Boucher via Gcc-patches
David: PING Le mardi 12 octobre 2021 à 22:09 -0400, Antoni Boucher a écrit : > David: PING > > Le lundi 27 septembre 2021 à 20:53 -0400, Antoni Boucher a écrit : > > I fixed an issue (it would show an error message when > > gcc_jit_type_dyncast_function_ptr_type

[PATCH] libgccjit: Add support for setting the link section of global variables [PR100688]

2021-05-19 Thread Antoni Boucher via Gcc-patches
Hello. This patch adds support to set the link section of global variables. I used the ABI 18 because I submitted other patches up to 17. Thanks for the review. From c867732ee36003759d479497c85135ecfc4a0cf3 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 12 May 2021 07:57:54 -0400

[PATCH] libgccjit: Add function to set the initial value of a global variable [PR96089]

2021-05-20 Thread Antoni Boucher via Gcc-patches
From 0a5fd7f759e1bd7becc993f01bdcf84ff8fc5fd5 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sat, 15 May 2021 10:54:36 -0400 Subject: [PATCH] Add function to set the initial value of a global variable [PR96089] 2021-05-20 Antoni Boucher gcc/jit/ PR target/96089 * docs/t

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-05-25 Thread Antoni Boucher via Gcc-patches
er/gcc/c/c-convert.c#L175 and might not be needed in libgccjit. Should I just remove the condition, then? Le jeudi 13 mai 2021 à 19:58 -0400, David Malcolm a écrit : > On Thu, 2021-05-13 at 19:31 -0400, Antoni Boucher wrote: > > Thanks for your answer. > > > > See my answers below:

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-05-25 Thread Antoni Boucher via Gcc-patches
pe to ssize_t). Is that the proper way to indicate an error? Once I know the answer for this error handling question, I'll fix the types. Thanks! Le jeudi 13 mai 2021 à 17:30 -0400, David Malcolm a écrit : > On Tue, 2020-11-03 at 17:13 -0500, Antoni Boucher wrote: > > I was

Re: [PATCH] libgccjit: Add support for types used by atomic builtins [PR96066] [PR96067]

2021-05-26 Thread Antoni Boucher via Gcc-patches
Hi. Here's the new patch with the fixes requested. Le jeudi 20 mai 2021 à 16:24 -0400, David Malcolm a écrit : > On Mon, 2021-05-17 at 21:02 -0400, Antoni Boucher via Jit wrote: > > Hello. > > This patch fixes the issue with using atomic builtins in libgccjit. >

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-05-27 Thread Antoni Boucher via Gcc-patches
Here's the patch with the condition removed. I believe everything is now fixed. Thanks! Le jeudi 27 mai 2021 à 18:21 -0400, David Malcolm a écrit : > On Tue, 2021-05-25 at 20:16 -0400, Antoni Boucher wrote: > > I updated the patch according to the comments by Tom Tromey. > &

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-05-27 Thread Antoni Boucher via Gcc-patches
I chose option A, so everything is a size_t, now. I also renamed the dyncast functions. Here's the new patch. Le jeudi 27 mai 2021 à 18:19 -0400, David Malcolm a écrit : > On Tue, 2021-05-25 at 20:19 -0400, Antoni Boucher wrote: > > @David: PING > > > > As far as

Re: [PATCH] libgccjit: Add function to set the initial value of a global variable [PR96089]

2021-06-11 Thread Antoni Boucher via Gcc-patches
David: this one wasn't reviewed yet by you, so you can review it. Le jeudi 20 mai 2021 à 21:27 -0400, Antoni Boucher a écrit : > Hi. > > I made this patch to set an arbitrary value to a global variable. > > This patch suffers from the same issue as inline assembly &g

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-10-12 Thread Antoni Boucher via Gcc-patches
David: PING Le lundi 27 septembre 2021 à 20:53 -0400, Antoni Boucher a écrit : > I fixed an issue (it would show an error message when > gcc_jit_type_dyncast_function_ptr_type was called on a type different > than a function pointer type). > > Here's the updated patch. >

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-07-19 Thread Antoni Boucher via Gcc-patches
I'm sending the patch once again for review/approval. I fixed the doc to use the new function names. Le vendredi 18 juin 2021 à 16:37 -0400, David Malcolm a écrit : > On Fri, 2021-06-18 at 15:41 -0400, Antoni Boucher wrote: > > I have write access now. > > Great. > &

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-07-29 Thread Antoni Boucher via Gcc-patches
David: PING Le lundi 19 juillet 2021 à 12:10 -0400, Antoni Boucher a écrit : > I'm sending the patch once again for review/approval. > > I fixed the doc to use the new function names. > > Le vendredi 18 juin 2021 à 16:37 -0400, David Malcolm a écrit : > > On Fri,

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-05-13 Thread Antoni Boucher via Gcc-patches
Thanks for your answer. See my answers below: Le jeudi 13 mai 2021 à 18:13 -0400, David Malcolm a écrit : > On Sat, 2021-02-20 at 17:17 -0500, Antoni Boucher via Gcc-patches > wrote: > > Hi. > > Thanks for your feedback! > > > > Sorry about the delay in resp

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-05-13 Thread Antoni Boucher via Gcc-patches
Thanks for your reviews. I attached the new patch to this email. See answers below: Le jeudi 13 mai 2021 à 17:30 -0400, David Malcolm a écrit : > On Tue, 2020-11-03 at 17:13 -0500, Antoni Boucher wrote: > > I was missing a check in gcc_jit_struct_get_field, I added it in > > thi

[PATCH] libgccjit: Add support for types used by atomic builtins [PR96066] [PR96067]

2021-05-17 Thread Antoni Boucher via Gcc-patches
Hello. This patch fixes the issue with using atomic builtins in libgccjit. Thanks to review it. From 0ce53d373ffba9f3f80a2d2b4e1a7d724ba31b7d Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sun, 9 May 2021 20:14:37 -0400 Subject: [PATCH] Add support for types used by atomic builtins [PR96066

[PATCH] libgccjit: Add support for sized integer types, including 128-bit integers [PR95325]

2021-05-18 Thread Antoni Boucher via Gcc-patches
17 00:00:00 2001 From: Antoni Boucher Date: Mon, 10 May 2021 19:43:02 -0400 Subject: [PATCH] Add support for sized integer types, including 128-bit integers [PR95325] 2021-05-18 Antoni Boucher gcc/jit/ PR target/95325 * jit-playback.c: Add support for the sized in

Re: [PATCH] libgccjit: Add support for sized integer types, including 128-bit integers [PR95325]

2021-05-18 Thread Antoni Boucher via Gcc-patches
I had forgotten to update the documentation. This new patch contains it. Le mardi 18 mai 2021 à 08:23 -0400, Antoni Boucher a écrit : > Hello. > This patch add support for sized integer types. > Maybe it should check whether the size of a byte for the current > platform is 8 bits

[PATCH] libgccjit: Add support for TLS variable [PR95415]

2021-05-18 Thread Antoni Boucher via Gcc-patches
Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Tue, 11 May 2021 19:23:54 -0400 Subject: [PATCH] Add support for TLS variable [PR95415] 2021-05-18 Antoni Boucher gcc/jit/ PR target/95415 * docs/topics/compatibility.rst (LIBGCCJIT_ABI_17): New ABI tag

[PATCH] libgccjit: Allow comparing vector types

2022-12-12 Thread Antoni Boucher via Gcc-patches
Hi. This fixes bug 108078. Thanks for the review. From 016d23eeab1536e2ce0607d422fe4bb42b55c2dc Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Fri, 24 Jun 2022 21:05:29 -0400 Subject: [PATCH] libgccjit: Allow comparing vector types gcc/jit/ChangeLog: PR jit/108078 * jit-recording.h: Add

Re: [PATCH] libgccjit: Allow comparing vector types

2022-12-13 Thread Antoni Boucher via Gcc-patches
12 at 21:31 -0500, Antoni Boucher via Jit wrote: > > Hi. > > This fixes bug 108078. > > Thanks for the review. > > [...snip...] > > > diff --git a/gcc/jit/jit-recording.h b/gcc/jit/jit-recording.h > > index 5d7c7177cc3..4ec0fff4843 100644 > > --- a/gcc/

Re: [PATCH] libgccjit: Fix a failing test

2022-12-14 Thread Antoni Boucher via Gcc-patches
Thanks! In your patch, you're missing this line at the end of the commit message: Signed-off-by: Guillaume Gomez On Wed, 2022-12-14 at 14:39 +0100, Guillaume Gomez via Jit wrote: > Hi, > > This fixes bug 107999. > > Thanks in advance for the review.

Re: [PATCH] libgccjit: Fix float vector comparison

2023-01-12 Thread Antoni Boucher via Gcc-patches
x27;ll try to not require the finally block to be terminated, but I remember having issues making that work. What are your thoughts on this? On Fri, 2022-12-02 at 09:29 -0500, Antoni Boucher wrote: > On Thu, 2022-12-01 at 11:57 -0500, David Malcolm wrote: > > On Thu, 2022-12-01 at 10:33 -0

Re: [PATCH] libgccjit: Add support for `restrict` attribute on function parameters

2023-08-22 Thread Antoni Boucher via Gcc-patches
Since the tests in the PR for rustc_codegen_gcc (https://github.com/rust-lang/rustc_codegen_gcc/pull/312) currently fails, let's wait a bit before merging the patch, in case it would need some fixes. On Thu, 2023-08-17 at 20:09 +0200, Guillaume Gomez via Jit wrote: > Quick question: do you plan to

Re: [PATCH] ggc, jit: forcibly clear GTY roots in jit

2023-09-06 Thread Antoni Boucher via Gcc-patches
Hi. I'll do another test to make sure this is enough since I tested with a few more finalize functions. Thanks a lot for finding this! On Wed, 2023-09-06 at 09:40 -0400, David Malcolm via Jit wrote: > As part of Antoyo's work on supporting LTO in rustc_codegen_gcc, he > noticed an ICE inside libgc

Re: [PATCH] ggc, jit: forcibly clear GTY roots in jit

2023-09-12 Thread Antoni Boucher via Gcc-patches
It seems to not be enough to fix the issue. Let me find out what's missing from my patch. On Tue, 2023-09-12 at 11:35 +0200, Richard Biener via Jit wrote: > On Wed, Sep 6, 2023 at 3:41 PM David Malcolm via Gcc-patches > wrote: > > > > As part of Antoyo's work on supporting LTO in rustc_codegen_g

Re: [PATCH] ggc, jit: forcibly clear GTY roots in jit

2023-09-12 Thread Antoni Boucher via Gcc-patches
_int(int_type, 42); block.end_with_return(None, value); context.compile_to_file(OutputKind::Executable, "my_exe"); } } On Tue, 2023-09-12 at 12:00 -0400, Antoni Boucher via Jit wrote: > It seems to not be enough to fix the issue. > Let me find out what's

Re: [PATCH] ggc, jit: forcibly clear GTY roots in jit

2023-09-12 Thread Antoni Boucher via Gcc-patches
/9d5b6b20efa20825926196759d50706a604c64a8 so you might as well include all of this (except the linetable condition in toplev.cc). On Tue, 2023-09-12 at 14:38 -0400, David Malcolm wrote: > On Tue, 2023-09-12 at 13:36 -0400, Antoni Boucher wrote: > > In the mean time, here's a (Rust) reproducer for the issu

[PATCH] libgccjit: add some reflection functions in the jit C api

2020-09-01 Thread Antoni Boucher via Gcc-patches
p 17 00:00:00 2001 From: Antoni Boucher Date: Sat, 1 Aug 2020 17:52:17 -0400 Subject: [PATCH] This patch add some reflection functions in the jit C api. 2020-09-1 Antoni Boucher gcc/jit/ PR target/96889 * docs/topics/compatibility.rst (LIBGCCJIT_AB

[PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2020-07-12 Thread Antoni Boucher via Gcc-patches
Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sun, 5 Jul 2020 19:07:30 -0400 Subject: [PATCH] This patch handles truncation and extension for casts in jit. 2020-07-12 Antoni Boucher gcc/jit/ PR target/95498 * jit-playback.c: Add support to handle truncation and extension

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2020-10-15 Thread Antoni Boucher via Gcc-patches
21:01 -0400, Antoni Boucher via Jit wrote: > Hello. > This WIP patch implements new reflection functions in the C API as > mentioned in bug 96889. > I'm looking forward for feedbacks on this patch. > It's WIP because I'll probably add a few more reflection functions.

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2020-10-15 Thread Antoni Boucher via Gcc-patches
Thanks. I updated the patch with these changes. Is there any tool to automatically check the style? On Thu, Oct 15, 2020 at 06:23:18PM +0200, Andrea Corallo wrote: Antoni Boucher via Jit writes: Hi Antoni, Just had a quick look, please find some quite minor comments in line. From

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2020-10-15 Thread Antoni Boucher via Gcc-patches
that work. David, any more insight about whether this is the good solution for the problem? Thanks. On Tue, Jul 21, 2020 at 11:29:57PM +0200, Andrea Corallo wrote: Hi Antoni, a couple of nits and some thoughts. Antoni Boucher via Gcc-patches writes: 2020-07-12 Antoni Boucher gc

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2020-10-16 Thread Antoni Boucher via Gcc-patches
Hi. Thanks for the review. See the comments below. I attached the updated patch. On Thu, Oct 15, 2020 at 05:52:33PM -0400, David Malcolm wrote: On Thu, 2020-10-15 at 13:39 -0400, Antoni Boucher wrote: Thanks. I updated the patch with these changes. Thanks for patch; review below. Sorry if

[PATCH] libgccjit: Add support for machine-dependent builtins

2023-02-11 Thread Antoni Boucher via Gcc-patches
Hi. This patch adds support for machine-dependent builtins in libgccjit (bug 108762). There are two things I don't like in this patch: 1. There are a few functions copied from the C frontend (common_mark_addressable_vec and a few others). 2. Getting a target builtin only works from the second

Re: [PATCH] libgccjit: Add support for machine-dependent builtins

2023-02-11 Thread Antoni Boucher via Gcc-patches
I forgot to attach the patch. Here it is. On Sat, 2023-02-11 at 19:30 -0500, Antoni Boucher via Jit wrote: > Hi. > This patch adds support for machine-dependent builtins in libgccjit > (bug 108762). > > There are two things I don't like in this patch: > >  1. There

[PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-01 Thread Antoni Boucher via Gcc-patches
he review. From ef20b0a18e4978aac9eb77b91898356c67f6a0e4 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 1 Jun 2022 22:07:07 -0400 Subject: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type 2022-06-01 Antoni Boucher gcc/jit/ PR targe

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-01 Thread Antoni Boucher via Gcc-patches
Also, the test gcc/testsuite/jit.dg/test-asm.cc fails and would need this line: #include Is this okay if I add it in this patch? On Wed, 2022-06-01 at 22:13 -0400, Antoni Boucher wrote: > Hi. > The attached patch fix bug 105812: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812

[PATCH] libgccjit: Fix infinite recursion in gt_ggc_mx_lang_tree_node

2022-06-02 Thread Antoni Boucher via Gcc-patches
Hi. The attached patch fix bug 105827: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105827 I'm not sure how to test this, so please share ideas. Thanks for the review.

Re: [PATCH] libgccjit: Fix infinite recursion in gt_ggc_mx_lang_tree_node

2022-06-02 Thread Antoni Boucher via Gcc-patches
Sorry, forgot to attach the patch. Here it is. On Thu, 2022-06-02 at 21:20 -0400, Antoni Boucher via Jit wrote: > Hi. > The attached patch fix bug 105827: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105827 > > I'm not sure how to test this, so please share ideas. >

[PATCH] libgccjit: Support getting the size of a float

2022-06-02 Thread Antoni Boucher via Gcc-patches
Hi. The attached patch fix bug 105829: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105829 Thanks for the review. From 5d75fd342cdcea94a785312252be0c0046afdf43 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 4 May 2022 21:42:44 -0400 Subject: [PATCH] libgccjit: Support getting the size

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-25 Thread Antoni Boucher via Gcc-patches
David: PING On Wed, 2022-06-01 at 22:45 -0400, Antoni Boucher wrote: > Also, the test gcc/testsuite/jit.dg/test-asm.cc fails and would need > this line: > > #include > > Is this okay if I add it in this patch? > > On Wed, 2022-06-01 at 22:13 -0400, Antoni Bouche

Re: [PATCH gcc 0/1] [PATCH] target: Fix asm generation for AVX builtins when using -masm=intel [PR106095]

2022-06-28 Thread Antoni Boucher via Gcc-patches
e_tests to see if there's no failure or > new pass. > ./contrib/compara_tests is under gcc top directory. > > > > ../../gcc/configure --enable-host-shared --enable- > > languages=c,jit,c++,lto --enable-checking=release > > --prefix=(pwd)/../install > > >

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-29 Thread Antoni Boucher via Gcc-patches
estsuite/jit.dg/test-asm.cc:160:11: error: typedef 'uint32_t' is initialized (use 'decltype' instead) Are you OK with me adding the stdint.h header? On Tue, 2022-06-28 at 18:40 -0400, David Malcolm wrote: > On Wed, 2022-06-01 at 22:45 -0400, Antoni Boucher via Gcc-patches >

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-06-18 Thread Antoni Boucher via Gcc-patches
Le vendredi 11 juin 2021 à 14:00 -0400, David Malcolm a écrit : > On Fri, 2021-06-11 at 08:15 -0400, Antoni Boucher wrote: > > Thank you for your answer. > > I attached the updated patch. > > BTW you (or possibly me) dropped the mailing lists; was that > deliberate? Oh,

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-06-18 Thread Antoni Boucher via Gcc-patches
juin 2021 à 12:09 -0400, David Malcolm a écrit : > On Fri, 2021-06-18 at 11:55 -0400, Antoni Boucher wrote: > > Le vendredi 11 juin 2021 à 14:00 -0400, David Malcolm a écrit : > > > On Fri, 2021-06-11 at 08:15 -0400, Antoni Boucher wrote: > > > > Thank you for your

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-06-18 Thread Antoni Boucher via Gcc-patches
On Thu, 2021-05-27 at 21:22 -0400, Antoni Boucher wrote: > > Here's the patch with the condition removed. > > I believe everything is now fixed. > > Thanks! > > Thanks; this looks good to me.  Is this the latest version of the > patch; would you like me to apply

[PATCH] Added myself to the MAINTAINERS file

2021-06-18 Thread Antoni Boucher via Gcc-patches
Hi. I pushed a patch adding myself to the maintainers file. From 93022946df2463ad49e3eaa2f6d43c47c16f31c0 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Fri, 18 Jun 2021 16:49:20 -0400 Subject: [PATCH] MAINTAINERS: Add myself for write after approval ChangeLog: 2021-06-18 Antoni Boucher

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-06-18 Thread Antoni Boucher via Gcc-patches
Ok. Here's the patch with the updated subject and with format fixed. Le vendredi 18 juin 2021 à 16:54 -0400, David Malcolm a écrit : > On Fri, 2021-06-18 at 16:42 -0400, Antoni Boucher wrote: > > I'm sending the patch once again for review. > > > > As it's t

[PATCH] libgccjit: Fix float vector comparison

2022-11-20 Thread Antoni Boucher via Gcc-patches
Hi. This fixes bug 107770. Thanks for the review. From 1112e92624d41ec96c366fdb60101e1040462522 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sun, 20 Nov 2022 10:22:53 -0500 Subject: [PATCH] libgccjit: Fix float vector comparison Fix float vector comparison and add comparison tests didn&#

Re: [PATCH] libgccjit: Fix float vector comparison

2022-11-30 Thread Antoni Boucher via Gcc-patches
David: PING On Sun, 2022-11-20 at 14:03 -0500, Antoni Boucher wrote: > Hi. > This fixes bug 107770. > Thanks for the review.

Re: [PATCH] libgccjit: Fix float vector comparison

2022-12-01 Thread Antoni Boucher via Gcc-patches
lcolm wrote: > On Sun, 2022-11-20 at 14:03 -0500, Antoni Boucher via Jit wrote: > > Hi. > > This fixes bug 107770. > > Thanks for the review. > > Thanks, the patch looks good to me. > > Dave >

<    1   2   3   >