public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* __riscv_v_intrinsic status
@ 2023-03-28  6:16 Mathieu Malaterre
  2023-03-28  7:22 ` Kito Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Malaterre @ 2023-03-28  6:16 UTC (permalink / raw)
  To: gcc-help; +Cc: Kito Cheng

Hi there,

Are there any plan to adding "__riscv_v_intrinsic" (*) to GCC ? Here
is what I see on my current gcc (**):

% /usr/lib/gcc-snapshot/bin/gcc -Wp,-dM -E -c - < /dev/null | grep risc
#define __riscv 1
#define __riscv_atomic 1
#define __riscv_cmodel_medlow 1
#define __riscv_mul 1
#define __riscv_muldiv 1
#define __riscv_xlen 64
#define __riscv_fsqrt 1
#define __riscv_m 2000000
#define __riscv_fdiv 1
#define __riscv_a 2001000
#define __riscv_c 2000000
#define __riscv_d 2002000
#define __riscv_f 2002000
#define __riscv_i 2001000
#define __riscv_zicsr 2000000
#define __riscv_compressed 1
#define __riscv_float_abi_double 1
#define __riscv_flen 64
#define __riscv_arch_test 1
#define __riscv_div 1
#define __riscv_zifencei 2000000

(*)
https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/master/version_macro.adoc
(**)
% /usr/lib/gcc-snapshot/bin/gcc --version
gcc (Debian 20230315-1) 13.0.1 20230315 (experimental) [master
r13-6680-ga9ae16db8cb]

Thanks,
-- 
Mathieu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: __riscv_v_intrinsic status
  2023-03-28  6:16 __riscv_v_intrinsic status Mathieu Malaterre
@ 2023-03-28  7:22 ` Kito Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Kito Cheng @ 2023-03-28  7:22 UTC (permalink / raw)
  To: Mathieu Malaterre; +Cc: gcc-help, Kito Cheng

Hi Mathieu:

Could you file a bug, we'll fix that soon :)

On Tue, Mar 28, 2023 at 2:16 PM Mathieu Malaterre
<mathieu.malaterre@gmail.com> wrote:
>
> Hi there,
>
> Are there any plan to adding "__riscv_v_intrinsic" (*) to GCC ? Here
> is what I see on my current gcc (**):
>
> % /usr/lib/gcc-snapshot/bin/gcc -Wp,-dM -E -c - < /dev/null | grep risc
> #define __riscv 1
> #define __riscv_atomic 1
> #define __riscv_cmodel_medlow 1
> #define __riscv_mul 1
> #define __riscv_muldiv 1
> #define __riscv_xlen 64
> #define __riscv_fsqrt 1
> #define __riscv_m 2000000
> #define __riscv_fdiv 1
> #define __riscv_a 2001000
> #define __riscv_c 2000000
> #define __riscv_d 2002000
> #define __riscv_f 2002000
> #define __riscv_i 2001000
> #define __riscv_zicsr 2000000
> #define __riscv_compressed 1
> #define __riscv_float_abi_double 1
> #define __riscv_flen 64
> #define __riscv_arch_test 1
> #define __riscv_div 1
> #define __riscv_zifencei 2000000
>
> (*)
> https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/master/version_macro.adoc
> (**)
> % /usr/lib/gcc-snapshot/bin/gcc --version
> gcc (Debian 20230315-1) 13.0.1 20230315 (experimental) [master
> r13-6680-ga9ae16db8cb]
>
> Thanks,
> --
> Mathieu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-28  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28  6:16 __riscv_v_intrinsic status Mathieu Malaterre
2023-03-28  7:22 ` Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).