From: "Li, Yicheng" <yli137@vols.utk.edu>
To: "jit@gcc.gnu.org" <jit@gcc.gnu.org>
Subject: "march=native" flag not working in libgccjit
Date: Mon, 15 May 2023 20:07:51 +0000 [thread overview]
Message-ID: <44CD6A9D-15EE-4E9F-8521-B1B0EC0F33F4@vols.utk.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]
Hi,
In libjitgcc, I created a function and set flags “march=native” with gcc_jit_context_add_command_line_option( ctxt, “-march=native”.
However, the error is below:
libgccjit.so: error: bad value ‘native’ for ‘-march=’ switch
libgccjit.so: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids emeraldrapids alderlake raptorlake meteorlake graniterapids bonnell atom silvermont slm goldmont goldmont-plus tremont sierraforest grandridge knl knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 lujiazui k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 znver4 btver1 btver2 native
Thank you
Yicheng Li
next reply other threads:[~2023-05-15 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 20:07 Li, Yicheng [this message]
2023-05-15 21:34 ` David Malcolm
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=44CD6A9D-15EE-4E9F-8521-B1B0EC0F33F4@vols.utk.edu \
--to=yli137@vols.utk.edu \
--cc=jit@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).