public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alex Coplan <alex.coplan@arm.com>
To: "Marc Poulhiès" <poulhies@adacore.com>
Cc: gcc-patches@gcc.gnu.org, Daniel King <dmking@adacore.com>
Subject: Re: [COMMITTED] ada: Add CHERI intrinsic bindings and helper functions.
Date: Tue, 20 Jun 2023 14:00:39 +0100	[thread overview]
Message-ID: <ZJGi98ok0ucRpryK@arm.com> (raw)
In-Reply-To: <20230620074700.1252872-1-poulhies@adacore.com>

Hi,

On 20/06/2023 09:47, Marc Poulhiès via Gcc-patches wrote:
> From: Daniel King <dmking@adacore.com>
> 
> The package Interfaces.CHERI provides intrinsic bindings and
> helper functions to allow software to query, create, and
> manipulate CHERI capabilities.

I'm curious what the motivation for these intrinsic wrappers is, given that
GCC trunk doesn't currently support them. Out of interest, can you share what
the use case for these is?

Thanks,
Alex

> 
> gcc/ada/
> 
> 	* libgnat/i-cheri.ads: Add CHERI intrinsics and helper functions.
> 	* libgnat/i-cheri.adb: Likewise
> 
> Tested on x86_64-pc-linux-gnu, committed on master.
> 
> ---
>  gcc/ada/libgnat/i-cheri.adb |  75 ++++++
>  gcc/ada/libgnat/i-cheri.ads | 470 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 545 insertions(+)
>  create mode 100644 gcc/ada/libgnat/i-cheri.adb
>  create mode 100644 gcc/ada/libgnat/i-cheri.ads

  reply	other threads:[~2023-06-20 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20  7:47 Marc Poulhiès
2023-06-20 13:00 ` Alex Coplan [this message]
2023-06-20 13:47   ` Marc Poulhiès
2023-06-20 20:21     ` Alex Coplan
2023-06-22  8:18       ` Marc Poulhiès

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=ZJGi98ok0ucRpryK@arm.com \
    --to=alex.coplan@arm.com \
    --cc=dmking@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=poulhies@adacore.com \
    /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).