Author Topic: JWasm12_AVX2_RIP Source  (Read 10114 times)

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
JWasm12_AVX2_RIP Source
« on: December 14, 2014, 08:57:28 PM »
Here are sources with Visual Studio Community 2013 Project

If you have Windows 8.1 and you get error "General Failure" than change in main.c, line 72:
long    fh; to intptr_t    fh;
« Last Edit: January 15, 2015, 10:04:53 PM by habran »
Cod-Father

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #1 on: December 14, 2014, 08:59:40 PM »
Here are headers
decompress it and drop it in JWasm12_AVX2_RIP folder

This build will work on Windows 8.1 as well as on Windows 7

Edited by habran 15/01/14:
Small bugfix in header instravx.h line 113
« Last Edit: January 15, 2015, 09:49:44 AM by habran »
Cod-Father

Gunther

  • Member
  • *****
  • Posts: 3517
  • Forgive your enemies, but never forget their names
Re: JWasm12_AVX2_RIP Source
« Reply #2 on: December 15, 2014, 06:13:25 AM »
Hi Habran,

is there a chance to compile it with other compilers, too?

Gunther
Get your facts first, and then you can distort them.

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #3 on: December 15, 2014, 07:03:30 AM »
Certainly, you can use gcc
if you want, you can build it with Code::Blocks, just import VC project and build
or decompress this Code::Blocks project and drop it in the folder next to JWasm.vcxproj
and than just double click on it
Cod-Father

Gunther

  • Member
  • *****
  • Posts: 3517
  • Forgive your enemies, but never forget their names
Re: JWasm12_AVX2_RIP Source
« Reply #4 on: December 15, 2014, 07:39:03 AM »
Thank you Habran. I'll try it.

Gunther
Get your facts first, and then you can distort them.

Adamanteus

  • Member
  • **
  • Posts: 182
    • LLC "AMS"
Re: JWasm12_AVX2_RIP Source
« Reply #5 on: December 16, 2014, 01:30:55 AM »
 As need for speed underground - my build - without installer with docs and licenses, seh, unicode support ...
 Build not himself itself, so full compatibility with MASM as I said before not reached, but excellent as prog, so I was glad that build it ... and as I'm without site now - will put it here, as before was good comments about :icon14:

P.S. Attachment deleted
« Last Edit: January 23, 2015, 10:01:22 AM by Adamanteus »

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #6 on: December 16, 2014, 06:47:38 AM »
Hi Adamanteus
Your build is trowing an error:
 
Code: [Select]
fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributionsIt is bloated to 688 KB
My build is 464 KB
It looks like you have built debug version
Cod-Father

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #7 on: December 16, 2014, 07:05:47 AM »
Here are my builds:
« Last Edit: January 18, 2015, 06:35:19 AM by habran »
Cod-Father

jj2007

  • Member
  • *****
  • Posts: 7728
  • Assembler is fun ;-)
    • MasmBasic
Re: JWasm12_AVX2_RIP Source
« Reply #8 on: December 16, 2014, 09:51:28 AM »
Here are my builds:

The 32-bit version builds RichMasm (>16,000 lines) in less than 900ms on my i5, about 10% faster than the original JWasm :t

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #9 on: December 16, 2014, 10:30:52 AM »
Hey jj2007 :biggrin:
I am glad to hear that and thank you for testing :t
Cod-Father

Adamanteus

  • Member
  • **
  • Posts: 182
    • LLC "AMS"
Re: JWasm12_AVX2_RIP Source
« Reply #10 on: December 17, 2014, 10:40:33 AM »
Hi Adamanteus
Your build is trowing an error:
 
Code: [Select]
fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributionsIt is bloated to 688 KB
My build is 464 KB
It looks like you have built debug version

Throwing messages displays my startup code, by console output - so in IDE, that's not seen (possible to be seen, but I don't know how to determine build under IDE). So, variously you not seen the message and linked file, without correct .pdata - try to build you project under console, that will allow to see assembler abnormal termination message and check it exit code.
Build full release - bloated by 3 icons, but that what is  :P
P.S.
That to clear question with startup code, will say that it is simple trick with main in sehhelper.cpp, more detailed explanation of algos could be found here, so in main.c defines show /Dmain=cmain and call cmain(argc, argv) in try block, so you'll be have from C - C++ program processing exceptions, with system SEH interrupts.
« Last Edit: December 17, 2014, 12:04:33 PM by Adamanteus »

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #11 on: December 17, 2014, 02:47:56 PM »
I am happy with my builds and I don't work with 32 bits anyway 8)
If 44 people who downloaded your build are happy with your builds I am happy too :biggrin:
Cod-Father

Adamanteus

  • Member
  • **
  • Posts: 182
    • LLC "AMS"
Re: JWasm12_AVX2_RIP Source
« Reply #12 on: December 17, 2014, 07:38:45 PM »
So good - we are glad and happy (Happy new year - to everybody also  :t) - but you remark, about debug version is really actual - because, plain releases I make in full stdcall conventions (Alpha version - to everybody also  :icon_confused:)

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm12_AVX2_RIP Source
« Reply #13 on: December 17, 2014, 08:56:38 PM »
I am not certain that I understand what you are actually saing :dazzled:
Can you please explain what are you talking about :P
Cod-Father

Gunther

  • Member
  • *****
  • Posts: 3517
  • Forgive your enemies, but never forget their names
Re: JWasm12_AVX2_RIP Source
« Reply #14 on: December 17, 2014, 09:59:33 PM »
Hi Habran,

I am happy with my builds and I don't work with 32 bits anyway 8)

jWasm is designed for a lot of different operating systems and the 32-bit versions are important, too. Also jWasm for DOS.

Gunther

Get your facts first, and then you can distort them.