PATCH trunk GCCJIT: adding gcc_jit_context_new_rvalue_from_long_long, etc...

Basile Starynkevitch basile@starynkevitch.net
Thu Jan 1 00:00:00 GMT 2015


On 07/15/2015 20:52, David Malcolm wrote:
> On Wed, 2015-07-15 at 20:19 +0200, Basile Starynkevitch wrote:
>> Hello All and David Malcolm
>>
>> The attached patch (relative to trunk r224842) is adding
>> gcc_jit_context_new_rvalue_from_long_long and similar functions to
>> GCCJIT.
>


Here is the slightly improved but still incomplete patch against trunk 
r225844. I don't send it yet to gcc-patches@ because I know it is incomplete

Perhaps it is useless to send it here, but at least it serves as backup 
for me and to show the slow progress
I made so far.

Temporary gcc/jit/ChangeLog entry is
#######
2015-07-15  Basile Starynkevitch  <basile@starynkevitch.net>

     * libgccjit.h (gcc_jit_context_new_rvalue_from_long_long)
     (gcc_jit_context_new_rvalue_from_int32)
     (gcc_jit_context_new_rvalue_from_int64)
     (gcc_jit_context_new_rvalue_from_intptr): New function
     declarations. Mention in comments that some of them are same as
     others.

     * libgccjit.map: New entries for above functions in
     LIBGCCJIT_ABI_4/

     * libgccjit.c (gcc_jit_context_new_rvalue_from_long_long)
     (gcc_jit_context_new_rvalue_from_int32)
     (gcc_jit_context_new_rvalue_from_int64)
     (gcc_jit_context_new_rvalue_from_intptr): New functions.

     * jit-playback.c (new_rvalue_from_const <long long>): New
     specialization.

     * jit-recording.c (recording::memento_of_new_rvalue_from_const
     <long long>::write_reproducer): New.

######

Sorry for this incomplete patch. But your comments (if you have a few 
minutes to spend) are stil welcome.

Cheers.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jitlonglongpatch-r225844.diff
Type: text/x-patch
Size: 7875 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/jit/attachments/20150101/a7c254cf/attachment.bin>


More information about the Jit mailing list