Dmitry Stogov
35a36aa20b
DynASM/x64: Allow "&expr" syntax in MRM to generate IP-relative code
...
DynASM already allows usage of jump taget syntax in x86 MRM
| mov rax, [->1]
On x86_86 this leads to generatation of IP-realtive code. but for some reason "&expr" jump target syntax is not supported.
The patch enables this syntax, so now we may write
| mov rcx, [&addr]
instead of
| mov64 rcx, &addr
| mov rcx, [rcx]
2023-12-22 17:10:27 +03:00
Mike Pall
ef587afb2c
Merge branch 'master' into v2.1
2023-08-20 21:33:37 +02:00
Mike Pall
158a284cc9
Bump copyright date.
2023-08-20 21:25:30 +02:00
Mike Pall
7306ba78d6
Merge branch 'master' into v2.1
2022-01-15 19:42:30 +01:00
Mike Pall
c4dfb625ba
Bump copyright date.
2022-01-15 19:30:54 +01:00
Mike Pall
c1c4c5599c
Merge branch 'master' into v2.1
2021-06-08 22:35:23 +02:00
Mike Pall
98f95f6918
DynASM/x86: Add missing escape in pattern.
2021-06-08 22:34:22 +02:00
Mike Pall
8dc3cd6c84
DynASM: Bump version to 1.5.0.
2021-05-02 22:29:01 +02:00
Mike Pall
1449663ecf
DynASM/x86: Fix x64 .aword refs. Add .qword, .quad, .addr and .long.
...
Suggested by Dmitry Stogov.
2021-05-02 22:25:16 +02:00
Mike Pall
1e66d0f9e6
Merge branch 'master' into v2.1
2021-01-02 21:56:07 +01:00
Mike Pall
f47c864b01
Bump copyright date.
2021-01-02 21:49:41 +01:00
Mike Pall
87b111f0fe
Merge branch 'master' into v2.1
2020-01-20 23:34:21 +01:00
Mike Pall
38a5ed4b43
Bump copyright date.
2020-01-20 23:26:51 +01:00
Mike Pall
9749952b55
DynASM/x86: Fix BMI instructions.
...
Thanks to Peter Cawley.
2020-01-20 22:23:17 +01:00
Mike Pall
26f1023819
DynASM/x86: Fix vroundps/vroundpd encoding.
...
Thanks to Alexander Nasonov.
2018-08-22 13:35:41 +02:00
Mike Pall
cc299958bb
DynASM/x86: Add FMA3 instructions.
...
Thanks to Alexander Nasonov.
2018-06-05 12:23:13 +02:00
Mike Pall
fe651bf6e2
DynASM/x86: Add BMI1 and BMI2 instructions.
...
Thanks to Peter Cawley.
2018-02-27 23:22:40 +01:00
Mike Pall
71ff7ef8a7
Merge branch 'master' into v2.1
2017-01-17 12:41:05 +01:00
Mike Pall
b93a1dd0c8
Bump copyright date to 2017.
2017-01-17 12:35:03 +01:00
Mike Pall
75d046dbdd
DynASM/x86: Add ADX instructions.
...
Thanks to Peter Cawley.
2016-03-06 12:25:03 +01:00
Mike Pall
f4231949b5
Merge branch 'master' into v2.1
2016-03-03 12:11:37 +01:00
Mike Pall
db1b399af1
Bump copyright date to 2016.
2016-03-03 12:02:22 +01:00
Mike Pall
cfae3846f8
DynASM/x86: Add AVX AES instructions.
...
Contributed by Peter Cawley.
2015-12-28 16:40:39 +01:00
Mike Pall
a687a60eaa
DynASM/x64: Add full VREG support.
...
Contributed by Peter Cawley.
2015-12-28 13:44:13 +01:00
Mike Pall
0aa337a41c
Merge branch 'master' into v2.1
2015-11-04 14:09:59 +01:00
Mike Pall
367cba29ea
DynASM/x86: Add rdpmc instruction.
...
Thanks to Cosmin Apreutesei.
2015-11-04 14:04:19 +01:00
Mike Pall
4c08158be4
Whitespace.
2015-10-24 18:53:37 +02:00
Mike Pall
d62dc01984
DynASM: Bump version to 1.4.
...
Thanks to Peter Cawley.
2015-10-24 18:46:45 +02:00
Mike Pall
8a13c9cebf
DynASM/x86: Add AVX and AVX2 opcodes.
...
Thanks to Peter Cawley.
2015-10-24 18:43:47 +02:00
Mike Pall
7e22082480
DynASM/x86: Add AES-NI opcodes.
...
Thanks to Peter Cawley.
2015-10-24 18:18:52 +02:00
Mike Pall
7579b161af
DynASM/x86: Restrict shld/shrd to operands with same width.
...
Thanks to Peter Cawley.
2015-10-24 18:15:44 +02:00
Mike Pall
9dc785e0af
DynASM/x86: Fix some SSE instruction templates.
...
Thanks to Peter Cawley.
2015-10-24 18:12:40 +02:00
Mike Pall
86913b9bbf
Bump copyright date to 2015.
2015-01-05 23:59:31 +01:00
Mike Pall
cb886b5817
DynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.
...
Thanks to Cosmin Apreutesei.
2014-09-22 13:44:28 +02:00
Mike Pall
ae7d4d5ad6
DynASM/x86: Add shld/shrd opcodes.
...
Thanks to Peter Cawley.
2014-09-21 18:03:47 +02:00
Mike Pall
ef59e54820
Bump copyright date to 2014.
2014-01-16 23:10:16 +01:00
Mike Pall
ec96d8b494
DynASM/x64: Add VREG support to mov64.
...
Thanks to Peter Cawley.
2013-07-18 08:51:32 +02:00
Mike Pall
b2a13ddd74
DynASM/x86: Add lock prefix.
2013-06-24 12:20:25 +02:00
Mike Pall
4a44c4ff69
Bump copyright date to 2013.
2013-02-11 12:54:48 +01:00
Mike Pall
c00ffcb870
Change DynASM bit operations to use Lua BitOp.
2012-07-08 16:27:18 +02:00
Mike Pall
6c05739684
DynASM: Lua 5.2 compatibility fixes.
2012-02-17 11:40:18 +01:00
Mike Pall
10ef109eef
Bump copyright date to 2012.
2012-01-23 22:42:42 +01:00
Mike Pall
cfdc356ebe
RELEASE LuaJIT-2.0.0-beta7
2011-05-05 16:31:13 +02:00
Mike Pall
7ff8409797
DynASM: x86/x64: Fix vreg in opcode. x64: Fix imm "I" after abs addr.
2011-04-28 12:54:46 +02:00
Mike Pall
06f99fc3df
Bump copyright date to 2011.
2011-01-09 17:12:53 +01:00
Mike Pall
559545eb6d
Whitespace.
2010-12-05 01:14:18 +01:00
Mike Pall
309d8f5aab
Cleanup library function caching in dasm_x86.lua.
2010-08-03 22:32:43 +02:00
Mike Pall
4d9be5b8f8
Bump all copyright dates to 2010.
2010-01-09 14:28:11 +01:00
Mike Pall
9df01f96b9
Allow @ in DynASM globals.
2010-01-05 22:07:54 +01:00
Mike Pall
da65e0dfed
Fix DynASM x64 encoding for qword-only instructions.
2009-12-28 21:00:03 +01:00