Quantcast
Channel: Neue Beiträge
Viewing all articles
Browse latest Browse all 7

SIMD tuning with ASM pt. 2 - Your First Dump

$
0
0
(here's part 1 in case you missed it)

Let's take a really, really simple program. It just adds one array of things to another. This should be a SIMD slam dunk! I will call this program blah.cpp


#include 

#define PTS 1000


int main()

{

        float x[PTS];

        float y[PTS];


        for (int i = 0; i < PTS; i++) {

                x[i] = 0.0f;    // set up some data

Viewing all articles
Browse latest Browse all 7


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>