On Mon, Sep 25, 2023 at 8:25 PM Tobias Burnus <tob...@codesourcery.com> wrote: > > I stumbled over this during the ARM64 talk at the cauldron as they > consider using -fopenmp-simd by default.
Ah, forgot to ask during the talk - isn't __attribute__((simd(..))) exactly to avoid the need for -fopenmp-simd? > → https://gcc.gnu.org/wiki/cauldron2023 (I put my talk/BoF slides up; > others aren't, yet) > > I did stumble over 'omp loop' with SIMD. It turns out that -fopenmp-simd > just turns 'loop' into 'simd', ignoring whatever value the user has > specified for the bind value. > > Additionally, [[omp::decl(...)]] was missing. > > Any comment to that patch before I commit it? > > Tobias > > PS: the [[omp::...]] needs a 'C++' → 'C/C++' change once omp:: support > with C23's attributes is in. > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 > München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas > Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht > München, HRB 106955