[
https://issues.apache.org/jira/browse/ARROW-15678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542235#comment-17542235
]
Ben Kietzman edited comment on ARROW-15678 at 5/25/22 8:56 PM:
---------------------------------------------------------------
IIUC, we'll still need to pass {{-mavx2}} so that we can include immintrin.h so
the attribute described in the {{ARROW_SPECIALIZED_SIMD_TARGET}} approach would
need to be attached to the {*}non{*}-SIMD functions to ensure that they're
compiled with no special instructions
... or I suppose we could try to declare all the intrinsics manually at
function scope
{code:java}
ARROW_SIMD_FUNCTION(avx2) void SimdThing() {
// inlined from immintrin.h:
typedef unsigned short __mmask16;
extern
__inline
__mmask16
__attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
_mm512_int2mask (int __M);
}{code}
was (Author: bkietz):
IIUC, we'll still need to pass {{-mavx2}} so that we can include immintrin.h so
the attribute described in the {{ARROW_SPECIALIZED_SIMD_TARGET}} approach would
need to be attached to the *non*-SIMD functions to ensure that they're compiled
with no special instructions
> [C++][CI] a crossbow job with MinRelSize enabled
> ------------------------------------------------
>
> Key: ARROW-15678
> URL: https://issues.apache.org/jira/browse/ARROW-15678
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Continuous Integration
> Reporter: Jonathan Keane
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 13h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)