Commit 5ae5661f authored by Tomasz Buchert's avatar Tomasz Buchert

Imported Upstream version 1.71.44

parent a21ad51a
No preview for this file type
......@@ -442,7 +442,7 @@ assembler_error:
mov ebx,[current_line]
test ebx,ebx
jz display_error_message
push dword 0
pushd 0
get_error_lines:
mov eax,[ebx]
cmp byte [eax],0
......
......@@ -1769,19 +1769,22 @@ avx512_pmovwb_instruction:
avx_broadcast_128_instruction_noevex:
or [vex_required],2
mov cx,0010h
mov cl,10h
jmp avx_broadcast_instruction
avx512_broadcast_32x2_instruction:
mov cl,08h
jmp avx_broadcast_instruction_evex
avx512_broadcast_32x4_instruction:
mov cx,0410h
mov cl,10h
jmp avx_broadcast_instruction_evex
avx512_broadcast_32x8_instruction:
mov cx,0420h
mov cl,20h
jmp avx_broadcast_instruction_evex
avx512_broadcast_64x2_instruction:
mov cx,0810h
mov cl,10h
jmp avx_broadcast_instruction_w1_evex
avx512_broadcast_64x4_instruction:
mov cx,0820h
mov cl,20h
avx_broadcast_instruction_w1_evex:
or [rex_prefix],8
avx_broadcast_instruction_evex:
......@@ -1789,11 +1792,11 @@ avx512_broadcast_64x4_instruction:
jmp avx_broadcast_instruction
avx_broadcastss_instruction:
mov cl,4
jmp avx_broadcast_s_instruction
jmp avx_broadcast_instruction
avx_broadcastsd_instruction:
or [rex_prefix],80h
mov cl,8
jmp avx_broadcast_s_instruction
jmp avx_broadcast_instruction
avx_pbroadcastb_instruction:
mov cl,1
jmp avx_broadcast_pi_instruction
......@@ -1808,14 +1811,11 @@ avx_pbroadcastq_instruction:
or [rex_prefix],80h
avx_broadcast_pi_instruction:
or [operand_flags],40h
avx_broadcast_s_instruction:
mov ch,cl
avx_broadcast_instruction:
mov [opcode_prefix],66h
mov [supplemental_code],al
mov al,38h
mov [mmx_size],cl
mov [broadcast_size],ch
mov [base_code],0Fh
mov [extended_code],al
or [vex_required],1
......@@ -1826,6 +1826,8 @@ avx_pbroadcastq_instruction:
jnz avx_broadcast_destination_size_ok
cmp [mmx_size],4
je avx_broadcast_destination_size_ok
cmp [supplemental_code],59h
je avx_broadcast_destination_size_ok
cmp ah,16
je invalid_operand_size
avx_broadcast_destination_size_ok:
......@@ -1847,7 +1849,7 @@ avx_pbroadcastq_instruction:
xchg ah,[operand_size]
mov [postbyte_register],al
mov al,[broadcast_size]
xchg al,[mmx_size]
mov al,[mmx_size]
cmp al,ah
je instruction_ready
or al,al
......@@ -2283,6 +2285,8 @@ avx_cvtps2ph_instruction:
shl [operand_size],1
call take_avx_register
mov [postbyte_register],al
shr ah,1
mov [mmx_size],ah
jmp mmx_imm8
vcvtps2ph_reg:
lods byte [esi]
......@@ -2414,11 +2418,11 @@ avx_cvtsi2ss_instruction:
avx_cvtsi_reg_reg_mem:
call get_address
mov al,[operand_size]
mov [mmx_size],al
cmp al,4
je instruction_ready
cmp al,8
jne invalid_operand_size
mov [mmx_size],al
call operand_64bit
jmp instruction_ready
......
......@@ -1685,7 +1685,7 @@ get_address_value:
je check_index_scale
jmp invalid_address
swap_vsib_registers:
xor al,-1
xor ah,-1
jz invalid_address
cmp cl,1
ja invalid_address
......
......@@ -4130,6 +4130,8 @@ instructions_14:
instructions_15:
db 'aeskeygenassist',0DFh
dw sse4_instruction_66_3a_imm8-instruction_handler
db 'vbroadcastf32x2',19h
dw avx512_broadcast_32x2_instruction-instruction_handler
db 'vbroadcastf32x4',1Ah
dw avx512_broadcast_32x4_instruction-instruction_handler
db 'vbroadcastf32x8',1Bh
......@@ -4138,6 +4140,8 @@ instructions_15:
dw avx512_broadcast_64x2_instruction-instruction_handler
db 'vbroadcastf64x4',1Bh
dw avx512_broadcast_64x4_instruction-instruction_handler
db 'vbroadcasti32x2',59h
dw avx512_broadcast_32x2_instruction-instruction_handler
db 'vbroadcasti32x4',5Ah
dw avx512_broadcast_32x4_instruction-instruction_handler
db 'vbroadcasti32x8',5Bh
......
......@@ -33,7 +33,7 @@
; cannot simply be copied and put under another distribution licence
; (including the GNU Public Licence).
VERSION_STRING equ "1.71.42"
VERSION_STRING equ "1.71.44"
VERSION_MAJOR = 1
VERSION_MINOR = 71
......@@ -2,6 +2,18 @@
Visit http://flatassembler.net/ for more information.
version 1.71.44 (Oct 27, 2015)
[-] Minor bug fixes.
version 1.71.43 (Oct 26, 2015)
[+] Added two missing instructions.
[-] Fixed few minor bugs in AVX-512 encodings.
version 1.71.42 (Oct 22, 2015)
[-] Fixed a couple of regression bugs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment