public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Cc: Kito Cheng <kito@gcc.gnu.org>
Subject: __riscv_v_intrinsic status
Date: Tue, 28 Mar 2023 08:16:13 +0200	[thread overview]
Message-ID: <CA+7wUszgtEn=TxPxxRnaw1q1u=ccyFgwr9hDB-wZcQo=pTcJfw@mail.gmail.com> (raw)

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

             reply	other threads:[~2023-03-28  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-28  6:16 Mathieu Malaterre [this message]
2023-03-28  7:22 ` Kito Cheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+7wUszgtEn=TxPxxRnaw1q1u=ccyFgwr9hDB-wZcQo=pTcJfw@mail.gmail.com' \
    --to=mathieu.malaterre@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=kito@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).