Giter Club home page Giter Club logo

Comments (5)

mr-c avatar mr-c commented on June 3, 2024 1

Many of the rest are already implemented in SIMDe. I updated the table to add the intrinsic names next to the CPU instruction mnemonic.

from simde.

mr-c avatar mr-c commented on June 3, 2024 1

Can you add the intrinsic/function name for the rest of the instructions? I'm seeing more of then as already implemented in SIMDe

How do you check?

  1. Go to https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#
  2. Search for the instruction name: https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=MASKMOVQ
  3. If there are multiple hits, check them for a matching Instruction: line: https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=MASKMOVQ&ig_expand=4253_mm_maskmove_si64
  4. Check SIMDe source for the intrinsic:

    simde/simde/x86/sse.h

    Lines 2922 to 2942 in 517da84

    SIMDE_FUNCTION_ATTRIBUTES
    void
    simde_mm_maskmove_si64 (simde__m64 a, simde__m64 mask, int8_t* mem_addr) {
    #if defined(SIMDE_X86_SSE_NATIVE) && defined(SIMDE_X86_MMX_NATIVE)
    _mm_maskmove_si64(a, mask, HEDLEY_REINTERPRET_CAST(char*, mem_addr));
    #else
    simde__m64_private
    a_ = simde__m64_to_private(a),
    mask_ = simde__m64_to_private(mask);
    SIMDE_VECTORIZE
    for (size_t i = 0 ; i < (sizeof(a_.i8) / sizeof(a_.i8[0])) ; i++)
    if (mask_.i8[i] < 0)
    mem_addr[i] = a_.i8[i];
    #endif
    }
    #define simde_m_maskmovq(a, mask, mem_addr) simde_mm_maskmove_si64(a, mask, mem_addr)
    #if defined(SIMDE_X86_SSE_ENABLE_NATIVE_ALIASES)
    # define _mm_maskmove_si64(a, mask, mem_addr) simde_mm_maskmove_si64((a), (mask), SIMDE_CHECKED_REINTERPRET_CAST(int8_t*, char*, (mem_addr)))
    # define _m_maskmovq(a, mask, mem_addr) simde_mm_maskmove_si64((a), (mask), SIMDE_CHECKED_REINTERPRET_CAST(int8_t*, char*, (mem_addr)))
    #endif

Thanks!

from simde.

Torinde avatar Torinde commented on June 3, 2024 1

Done - remaining instructions I don't find in Intel intrinsics list.

Most are implemented, only 14 "related" ones aren't.

from simde.

mr-c avatar mr-c commented on June 3, 2024

@Torinde Can you add the intrinsic/function name for the rest of the instructions? I'm seeing more of then as already implemented in SIMDe

Thanks for flagging these, we need to represent this status information better in our docs

from simde.

Torinde avatar Torinde commented on June 3, 2024

Can you add the intrinsic/function name for the rest of the instructions? I'm seeing more of then as already implemented in SIMDe

How do you check?

from simde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.