News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

JWasm212pre with AVX2

Started by habran, November 18, 2014, 07:21:42 AM

Previous topic - Next topic

Gunther

Hi Habran,

Quote from: habran on November 19, 2014, 08:10:43 AM
Have you tested it yet?

only partially, but that works fine. The rest comes next weekend, because this week is like hell (exams, exams and exams). I've to supervise the entire circus.

Gunther

You have to know the facts before you can distort them.

habran

Take your time Gunther :biggrin:
Those people are the lucky ones because they have you to supervise them ;)
Cod-Father

habran

I have fixed 32 bit at the top of this thread
these 2 at the top are my version with all benefits

post #5 contains original versions with only AVX2 added

if everything is OK I will create a new thread with sources an binaries
Cod-Father

Gunther

Hi Habran,

Quote from: habran on November 19, 2014, 11:26:09 PM
I have fixed 32 bit at the top of this thread
these 2 at the top are my version with all benefits

special thanks.  :t You're a hard working man.

Gunther
You have to know the facts before you can distort them.

jj2007

WinMain proc uses edi esi ebx hInst:DWORD, hPrevInst:DWORD, CmdLine:DWORD, CmdShow:DWORD
....
   int 3
   return msg.wParam


00401A00   ³> ÀCC             int3
00401A01   ³.  8B45 BC        mov eax, [ebp-44]
00401A04   ³.  8BE5           mov esp, ebp
00401A06   ³.  5D             pop ebp
00401A07   À.  C2 1000        retn 10


should be:
00401A01   ³.  8B45 BC        mov eax, [ebp-44]
00401A04   ³.  5B             pop ebx
00401A05   ³.  5E             pop esi
00401A06   ³.  5F             pop edi
00401A07   ³.  8BE5           mov esp, ebp
00401A09   ³.  5D             pop ebp
00401A0A   À.  C2 1000        retn 10

nidud

#20
deleted

habran

Quote
special thanks.  :t You're a hard working man.
...with a broken arm :biggrin:

Hey jj2007, I don't like you, I LOVE you (nothing sexual) ;)
thank you for finding that error
I fixed it and uploaded it
test it please

to have ebp free for use you can use also:
option stackbase : esp

thank you nidud for protecting me :t
Cod-Father

Gunther

Hi Habran,

Quote from: habran on November 20, 2014, 07:24:14 AM
thank you for finding that error
I fixed it and uploaded it
test it please

that was a very fast fix.  :t

Gunther
You have to know the facts before you can distort them.

habran

Hey Gunther
You are such a fine person :biggrin:
I wish you lived somewhere closer to me so I could visit you
Cod-Father

jj2007

Quote from: habran on November 20, 2014, 07:24:14 AM
test it please

Works fine now with the RichMasm source (15,000+ lines) :t

habran

Thanks mate :t
I am glad that you are happy :biggrin:
I'll wait for Gunther to test AVX2 instructions and if OK than I'll crate a new thread with sources and binaries
I'll also write detailed instructions how to use my versions with all the benefits I have implemented 
Cod-Father

TouEnMasm

I have made a test with a jwasm sample Win64_8.asm
It work but I get strange display
Quote
JWasm v2.12pre, Nov 17 2014, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

Win64_8.asm: 367 lines, 3 passes, 15 ms, 0 warnings, 0 errors
Error A2168: General Failure

There has been an error while assembling this project.

Appuyez sur une touche pour continuer...

Quote
AMD A6-5200 APU with Radeon(TM) HD Graphics   
Windows 8.1

VC++ express 2013

Fa is a musical note to play with CL

Gunther

Hi Habran,

Quote from: habran on November 21, 2014, 07:30:47 AM
I wish you lived somewhere closer to me so I could visit you

in any case: If you ever come to Germany, especially Berlin, you should visit me. We could have a beer or two and talk about the world and the forum.

Gunther
You have to know the facts before you can distort them.

habran

Hi ToutEnMasm :biggrin:
when you use my 64bit version JWasm (at the top of this thread)
use this options:

option casemap : none
option win64 : 11   ;eleven
option frame : auto
option stackbase : rsp
.xmm

and than see if it will give you the same result

I was being careful not to disturb original layout but it looks like it leaked somewhere
I'll go through everything again and make sure that all options work independently
however, for now if you use my version than use   option win64 : 11   ;eleven
you have also available under the post #5 the original version with only AVX2 added

try if it works with Win8

please keep me updated
Cod-Father

habran

Quote from: Gunther on November 21, 2014, 08:55:36 PM
Hi Habran,
in any case: If you ever come to Germany, especially Berlin, you should visit me. We could have a beer or two and talk about the world and the forum.
Gunther
I have 2 sisters in Grmny: one lives in Ravensburg and the other one in Konstanc on Bodensee
I have a plan to visit them in next few years but I am not ready yet (financially)
I'll certainly visit you when I come

however, if you ever decide to come to OZ you must visit me, we have also German beers here)
I live in Adelaide and Germans settled in Adelaide hills 1838

I loved the life in Germany, it was a beautiful and developed, dynamic country (1972-74 when Willy Brandt was a Chancellor of the Federal Republic of Germany)
I loved German girls and they loved me back (I was 17-19) :dazzled:
Cod-Father