Giter Site home page Giter Site logo

Comments (4)

zakk0610 avatar zakk0610 commented on July 18, 2024

vint8m2_t and vint8m1_t occupy the different size, I think it should not be called reinterpret.
Could you share the user scenario?
Are you doing vector-length agnostic programming?
Or are you going to do the similar thing like #28 mention, implement combine operation for vcombine instruction in NEON?

from rvv-intrinsic-doc.

ChunyuLiao avatar ChunyuLiao commented on July 18, 2024

How to convert between data types and mask types use rvv intrinsics?

Eg: <vscale x 1 x i64> <-> <vscale x 1 x i1>

from rvv-intrinsic-doc.

zakk0610 avatar zakk0610 commented on July 18, 2024

mask->data type:
vuint64m1_t data = vmerge_vxm_u64m1(mask, vundefined_u64m1(), 1);

data type->mask:
vbool64_t mask = vmseq_vx_u64m1(data, 1);

from rvv-intrinsic-doc.

eopXD avatar eopXD commented on July 18, 2024

We have vlmul_ext, vlmul_trunc now. Closing the issue.

from rvv-intrinsic-doc.

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.