public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/111767] New: cast __mmask32 parameter to __mmask8 from macro function
@ 2023-10-11 8:20 joony.wie at samsung dot com
0 siblings, 0 replies; only message in thread
From: joony.wie at samsung dot com @ 2023-10-11 8:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111767
Bug ID: 111767
Summary: cast __mmask32 parameter to __mmask8 from macro
function
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: joony.wie at samsung dot com
Target Milestone: ---
the macro function cast the parameter "u" to __mmask8 for debug build.
but the "u" should be __mmask32.
/* Intrinsics vfpclassph. */
#ifdef __OPTIMIZE__
_mm512_mask_fpclass_ph_mask (__mmask32 __U, __m512h __A,
const int __imm);
#else
#define _mm512_mask_fpclass_ph_mask(u, x, c) \
((__mmask32) __builtin_ia32_fpclassph512_mask ((__v32hf) (__m512h) (x), \
(int) (c),(__mmask8)(u)))
#endif /* __OPIMTIZE__ */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-11 8:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11 8:20 [Bug preprocessor/111767] New: cast __mmask32 parameter to __mmask8 from macro function joony.wie at samsung dot com
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).