Many thanks for your explanation. If it's the case, I suffices.

C.

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Giovanni Mascellani
Sent: Tuesday, September 03, 2019 09:50
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] RISC-V support

Hi,

Il 03/09/19 07:29, Christian Jullien ha scritto:
> Ok, that fine.
> Does it means that B 
> (https://en.wikipedia.org/wiki/RISC-V#Bit_manipulation)
> is currently implemented by soft. IMHO, for system programming it is a 
> must have. For example, my OpenLisp implementation heavily relies on 
> shift, bit mask...

I have no idea about how Micahel's implementation goes, but are there C 
operations that directly map to something in the B extension? Shifts are in the 
I "extension", and it is the only bit operation that C directly supports. An 
optimizing compiler can recognize (or support by builtins) more complicated 
patterns like counting leading zeros or rotating bits, but it doesn't seems to 
be tinycc's case, does it? Am I missing something?

Thanks, Giovanni.
--
Giovanni Mascellani <g.mascell...@gmail.com> Postdoc researcher - Université 
Libre de Bruxelles



_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to