Denis Drakhnia
811c08e821
e2k: Port f{min,max} and float2int from x86.
...
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:20 +03:00
Denis Drakhnia
6cbcdc4d5c
e2k: Implement basic v6 support.
...
Not tested on a real hardware.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
Denis Drakhnia
6fb98e718e
e2k: Move TCG translation parts into single file.
...
The TCG translation was splitted into multiple files and
it was painful because it has a lot of cross references.
Reorg FX helpers.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
Denis Drakhnia
bed634d944
e2k: Use %pfpfr for f32 and f64 operations.
...
%fpcr and %fpsr have been used for the operations but
%pfpfr must be used instead.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
Alibek Omarov
400947bba3
e2k: implement fsqrttd/fxsqrttxx through ignoring what fsqrtid/fxsqrt{i,u}xx does
2022-06-10 11:48:18 +03:00
Denis Drakhnia
b166b260da
e2k: Impl neg src2 in fscale{s,d} and fxscalesx.
2022-06-10 11:48:18 +03:00
Denis Drakhnia
399416a0d7
e2k: Allow to execute frcps, fsqrts, frsqrts.
2022-06-10 11:48:18 +03:00
Denis Drakhnia
6277820c04
e2k: Add fscale{s,d} and fxscalesx ops.
2022-06-10 11:48:18 +03:00
Alibek Omarov
73b99e75c2
e2k: add fxtoi{s,d}{,tr} and i{s,d}tofx instructions
2022-06-10 11:48:18 +03:00
Alibek Omarov
1a73a97771
e2k: add fstoifs and fdtoifd instrs
2022-06-10 11:48:16 +03:00
Alibek Omarov
6f463100cc
e2k: implement f{,x}cmp{op}{s,d,x}f instructions
2022-06-10 11:48:16 +03:00
Alibek Omarov
3607137905
e2k: add fcmp{op} instructions that write into normal register
2022-06-10 11:48:16 +03:00
Alibek Omarov
66293fd843
e2k: helper_fpu: fix various compiler warnings
2022-06-10 11:48:16 +03:00
Alibek Omarov
cee5be3c9c
e2k: add fxcmp{op}{type}b instructions
2022-06-10 11:48:16 +03:00
Denis Drakhnia
126b8b310c
target: e2k: Add basic FX instrs.
2022-06-10 11:48:15 +03:00
Alibek Omarov
b888c75194
target: e2k: add conversion instructions, handle float comparison with predicate result instrs
2022-06-10 11:48:15 +03:00
Alibek Omarov
ebb2b2485f
target: e2k: add basic fpu instructions
2022-06-10 11:48:15 +03:00