[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vectorization, SIMD
From: |
Eli Zaretskii |
Subject: |
Re: Vectorization, SIMD |
Date: |
Wed, 23 Apr 2025 16:29:45 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: Emacs Devel <emacs-devel@gnu.org>
> Date: Wed, 23 Apr 2025 11:00:23 +0200
>
> I've played with this a bit and made notes, which I'd like to share.
> Please find attached.
>
> My summary so far: Can be done and it's not that difficult. There is
> even some degree of "portability" achievable when writing SIMD code by
> hand. What's will be really no fun, from my POV, is configuration stuff,
> making it work on N platforms with M compilers and so on.
>
> Don't know, maybe it's best to wait for compilers to get better at
> auto-vectorization. Or maybe GCC is better than LLVM in this regard. I
> haven't checked that because I can't really use GCC here on macOS.
I'm probably missing something, but isn't this already supported if
you take care of specifying the right compiler switches via CFLAGS at
configure time?
IOW, does this require any changes in Emacs, and if so, why?
Thanks.
Re: Vectorization, SIMD, Gerd Möllmann, 2025/04/26