Help me Upgrade my x86 C++ software to x64 bit MMX to SSE2

This .cpp has MMX intrinsics and needs to be SSE2 compatible. It should be easy to folks that are familiar with this stuff. I believe it needs to not reference files: mmintrin.h but rather emmintrin.h. You can also look at a stackoverflow that I've posted that no one bothered to post a satisfactory answer on:

[url removed, login to view]

which was linked to this one:

[url removed, login to view]

Attached you'll find the original 'x86' [url removed, login to view] and my attempt at making this x64

My x64 version is very close to working. It doesn't fail per sae, it just produces image results that are less than satisfactory. So some of the calculations are obviously off in the 64bit version. I will make a joke and say that the image is a bit 'convoluted'...hehe. Attached is also an image produced by my 64bit version, showing what I'm producing. It's not supposed to look like that.

Your job is to fix the 64bit SSE calculations. Find what converted x86 to x64 functions are converted incorrectly, or what needs to be changed in the code to work more properly. This should be rather simple for an MMX expert.

One guy pointed out that I cannot do this: '(__m128i*)lpruSumCurr' where lpruSumCurr is an INT_PTR. Well I cannot find a way around it at the moment.

Edit: Added the entire solution...

https://drive.google.com/file/d/0B3qrpuwM39vmb2pRU0JuMHNnSGM/view?usp=sharing - Here is the link to the solution file.

Compétences : Programmation C++

en voir plus : working at h&m, where i can find job for programming, where can i find a programming job, programming with cpp, programming joke, job programming find, help me fix this, help me fix it, help me find a job, find a project to do in programming, find a job programming, c programming reference, c programming expert com, cpp questions, cpp programming questions, kiosk software upgrade vb6 net required, delphi mmx sse sse2, kaon software price comparison help, ios software upgrade, 7206vxr router software upgrade, software upgrade 3750 device manager, software upgrade cisco 3560 serial, websites kaon software upgrade, software upgrade routers firmware, upgrade magento help

Concernant l'employeur :
( 7 commentaires ) Ypsilanti, United States

Nº du projet : #8469887

Décerné à:


Hello, i am experienced C/C++ developer (over 6 years). I can do it for you, but i need some info about how to use this code and some test data for check result code behavior correctness. As i can understand this code Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(8 Commentaires)

4 freelance font une offre moyenne de $162 pour ce travail


A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(2 Commentaires)

Greetings, I'm form a low-level C++ background- mostly electronics and large scale enterprise software and systems. I'll take a look at your code and be in touch shortly- with any initial questions or observations Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(3 Commentaires)

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(3 Commentaires)