How can I use simd in MIPS?

Tagged: ,

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

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

    xu
    Member

    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!

    Attachments:
    You must be logged in to view attached files.
    1 user thanked author for this post.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.