The MASM Forum

64 bit assembler => UASM Assembler Development => Topic started by: johnsa on November 17, 2018, 11:54:15 PM

Title: UASM 2.47 Available
Post by: johnsa on November 17, 2018, 11:54:15 PM
Hi,

UASM 2.47 is now available. Packages on the site and repository updated!

Changes:

Fixed symbol undefined with IF
Add -PIE command line switch for position indepedant executable. (not used yet)
Fixed vxorpd evex warning with missing register.
Corrected encoding for vmovsd.
Fix vgather/scatter encoding issue.
Fix vectorcall register over-write ordering.
Fix codegen integer shift encoding for SSE vs. AVX/EVEX.
Add m512 built-in types
Fix error reporting for evex compare instructions (http://masm32.com/board/index.php?topic=7320.0) => VPCMPB,VPCMPUB,VPCMPD,VPCMPUD,VPCMPQ,VPCMPUQ,VPCMPW,VPCMPUW
Clang and Gcc 8+ compiler compatibility fixes
Name mangling for vectorcall
Include improved build files for osx/linux
Fix generation of instructions when in data section (due to lbl: conversion to lbl label byte regression from 2.19)
Add error when literal string used in invoke and parameter is NOT of type PTR or VARARG.
Fixed transfer of language type info from PROC to equate (http://masm32.com/board/index.php?topic=7137.0)
Ensure that an equate used with invoke redirects to the actual PROC symbol to ensure proper relocations are generated (http://masm32.com/board/index.php?topic=7137.0)
Fix static method HLL invocation without parameters.
Fixed console colour background to match active setting under Windows.
remove duplicated string literals
add plt,got relocation types provisionally.
Fix register ordering in memory operands where base and index could be swapped when no scale present. (Legacy jwasm bug)
AVX-512 encoding fix for VPGATHERDD in 32bit.
Added MOVBE instruction support.

Cheers !
Title: Re: UASM 2.47 Available
Post by: jj2007 on November 20, 2018, 06:55:04 PM
Hi UAsm team,
Congrats for the new version, tested with all my major sources, everything fine :t
Title: Re: UASM 2.47 Available
Post by: habran on November 20, 2018, 07:37:23 PM
Thank you JJ on your testing :biggrin:
Your confirmation is nice reward for our efforts 8)
Title: Re: UASM 2.47 Available
Post by: jj2007 on November 20, 2018, 07:54:54 PM
UAsm is a fantastic project. And testing is easy for me because my projects use it by default, so I just open the source, hit F6, and there it goes. Apart from the MasmBasic library (source is >36k lines), there is the RichMasm editor (>20k), plus several projects beyond 3,000 lines; all of them full of very weird macros of course :badgrin:

So with regard to general coding and macros, my little projects are good test cases; for the latest CPU stuff, you will have to ask other members. Keep up the good work, folks :icon14:
Title: Re: UASM 2.47 Available
Post by: LiaoMi on November 21, 2018, 05:08:30 AM
Thanks for the work you've done! What about lambda functions?  :P
Title: Re: UASM 2.47 Available
Post by: rsala on November 21, 2018, 05:31:14 AM
Hi,

Easy Code v2 64-bit compiles and works fine with this new version of UASM.

Congratulations!
Title: Re: UASM 2.47 Available
Post by: Biterider on November 21, 2018, 08:06:11 AM
Hi
I've also tested V2.47 on some sources and all seems to work as expected.  :t


Good job!


Biterider
Title: Re: UASM 2.47 Available
Post by: johnsa on November 21, 2018, 09:27:35 PM
Thanks for the work you've done! What about lambda functions?  :P

It's still floating in my brain :) Not sure if we'll ever really do it, it maybe a bit "too" HLL for UASM.
Title: Re: UASM 2.47 Available
Post by: Biterider on November 21, 2018, 10:55:06 PM
Hi johnsa
Will you upload the new source files to GitHub?


Biterider
Title: Re: UASM 2.47 Available
Post by: LiaoMi on November 22, 2018, 03:39:06 AM
Hi Biterider ::)

I think the main branch is always here https://github.com/Terraspace/UASM/tree/v2.47.1 (https://github.com/Terraspace/UASM/tree/v2.47.1)  :icon14:
Title: Re: UASM 2.47 Available
Post by: Biterider on November 22, 2018, 04:13:56 AM
Good to know. Thanks!  :t
Title: Re: UASM 2.47 Available
Post by: johnsa on November 22, 2018, 04:57:46 AM
Hi,

Yep the branches on Github are always up-to-date :)
Title: Re: UASM 2.47 Available
Post by: Biterider on December 24, 2018, 12:03:31 AM
Hello
I want to report a bug that has previously been reported and apparently solved, but it still exists, even in version 2.47.1.
It's about the error message that is generated with ".err". It shows the correct line number, but sometimes the filename is the wrong one. A workaround that works is:

Code: [Select]
echo @CatStr (<Error on line>, %@Line, < of >, @FileCur)

I hope it can be solved soon.  :t

Biterider
Title: Re: UASM 2.47 Available
Post by: jj2007 on December 24, 2018, 12:54:39 AM
Better:
Code: [Select]
% echo @CatStr (<Error on line >, %@Line, < of >, @FileCur)
Title: Re: UASM 2.47 Available
Post by: habran on December 24, 2018, 11:57:18 PM
I can not produce the bug :icon_confused:
I need some source that makes it happen ::)
Title: Re: UASM 2.47 Available
Post by: Biterider on December 25, 2018, 12:34:19 AM
Hi Habran
Good to hear from you again  ;)
It seems that UASM gets confused with bigger projects. When using 2-3 files all works as expected.
As soon as I have something I can share, I'll give you a more feedback. For the moment I work with the macro I posted above.

Merry Christmas and a big thumbs up for you and Johnsa  :t

Biterider
Title: Re: UASM 2.47 Available
Post by: habran on December 25, 2018, 05:24:27 PM
Don't we all sometimes get confused with bigger projects :dazzled: ;)
Lately, I work behind the curtains (shadow warrior) 8)
Johnsa is tonal, I am nagual :lol:

No need to rush with a feedback, if I dye before I'll have a nice excuse not to fix it :biggrin:

Merry Christmas to you and all the members of this forum

Title: Re: UASM 2.47 Available
Post by: TimoVJL on January 13, 2019, 09:31:35 PM
feature request:
support for -Gy commandline option:
Code: [Select]
/Gy[-] separate functions for linker
Title: Re: UASM 2.47 Available
Post by: johnsa on January 21, 2019, 04:12:30 AM
Hey,

I've put this on the github issues list and I will get around to it :)