public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112108] New: [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes
@ 2023-10-27 14:05 andrew.carlotti at arm dot com
2023-11-04 5:37 ` [Bug target/112108] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: andrew.carlotti at arm dot com @ 2023-10-27 14:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112108
Bug ID: 112108
Summary: [aarch64] Some intrinsics are not correctly enabled
when using 'target' attributes
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: andrew.carlotti at arm dot com
Target Milestone: ---
Intrinsics gated by the +memtag, +ls64 and +tme features are currently only
available if the feature was enabled in the global target settings. Their
availability needs to be adjusted for individual functions, taking into account
any local changes to the enabled features (e.g. using 'target' attributes).
I'll post patches to fix this shortly.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/112108] [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes
2023-10-27 14:05 [Bug target/112108] New: [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes andrew.carlotti at arm dot com
@ 2023-11-04 5:37 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-04 5:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112108
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid, wrong-code
CC| |pinskia at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2023-11-04
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
One example is:
```
#include <arm_acle.h>
#pragma GCC push_options
#pragma GCC target ("+nothing+memtag")
void *f(void *ptr, unsigned long long mask)
{
return __arm_mte_create_random_tag(ptr, mask);
}
#pragma GCC pop_options
```
Currently this fails with C++ due to __builtin_aarch64_memtag_irg not being
defined.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-04 5:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-27 14:05 [Bug target/112108] New: [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes andrew.carlotti at arm dot com
2023-11-04 5:37 ` [Bug target/112108] " pinskia at gcc dot gnu.org
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).