diff options
| author | Ajax <commial@gmail.com> | 2018-02-09 10:09:21 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2018-02-09 17:36:31 +0100 |
| commit | 950bb44e32c5bed4dba7ef77949db86b4d36c5ca (patch) | |
| tree | d891ff6daedb8da4b7c6b6528ddac9b5cd2aa653 /miasm2/arch/x86/sem.py | |
| parent | deda8791ecbaa3cd541667b04d44759b91a14372 (diff) | |
| download | miasm-950bb44e32c5bed4dba7ef77949db86b4d36c5ca.tar.gz miasm-950bb44e32c5bed4dba7ef77949db86b4d36c5ca.zip | |
Add PMAXSW instruction
0F EE /r PMAXSW mm1, mm2/m64 66 0F EE /r PMAXSW xmm1, xmm2/m128
Diffstat (limited to 'miasm2/arch/x86/sem.py')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 0bb534e5..5beedede 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -3467,6 +3467,7 @@ pminud = vec_vertical_instr('min', 32, lambda x: _min_max(x, signed=False)) pmaxub = vec_vertical_instr('max', 8, lambda x: _min_max(x, signed=False)) pmaxuw = vec_vertical_instr('max', 16, lambda x: _min_max(x, signed=False)) pmaxud = vec_vertical_instr('max', 32, lambda x: _min_max(x, signed=False)) +pmaxsw = vec_vertical_instr('max', 16, lambda x: _min_max(x, signed=True)) # Floating-point arithmetic # @@ -4783,6 +4784,7 @@ mnemo_func = {'mov': mov, "pmaxub": pmaxub, "pmaxuw": pmaxuw, "pmaxud": pmaxud, + "pmaxsw": pmaxsw, "pminub": pminub, "pminuw": pminuw, |