How can I use simd in MIPS?

Home Forums MIPS Insider MIPS FAQ How can I use simd in MIPS?

This topic contains 0 replies, has 1 voice, and was last updated by  xu 1 year, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #64582

    xu
    Participant

    I have installed mipsel-linux-gcc in the pictrue

    enter image description here Now I have a file simd.c

    
    
    #include<stdio.h>
    #include"simdType.h"
    int main()
    {
    
    v4i32 m,t;
    v4f32 a,b,c,s;
    a=b+c;
    t=b<c;
    s = __builtin_shuffle(b,c,m);
    return 0;
    }

    then I

    mipsel-linux-gcc -S simd.c -mfp64 -Wa,-mmsa -mhard-float

    then I get simd.s,but it’s not in simd format. Who can help me ? Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.