Re: [Qemu-devel] [PATCH v3 1/7] target/m68k: add fscc.

2017-06-28 Thread Laurent Vivier
Le 27/06/2017 à 22:00, Richard Henderson a écrit : > On 06/27/2017 12:12 PM, Laurent Vivier wrote: >> case 3: /* Ordered Greater than or Equal Z || !(A || N) */ >> case 19: /* Greater than or Equal Z || !(A || N) */ >> +g_assert(FPSR_CC_A == (FPSR_CC_N >> 3)); >> +c->v1

Re: [Qemu-devel] [PATCH v3 1/7] target/m68k: add fscc.

2017-06-27 Thread Laurent Vivier
Le 27/06/2017 à 22:00, Richard Henderson a écrit : > On 06/27/2017 12:12 PM, Laurent Vivier wrote: >> case 3: /* Ordered Greater than or Equal Z || !(A || N) */ >> case 19: /* Greater than or Equal Z || !(A || N) */ >> +g_assert(FPSR_CC_A == (FPSR_CC_N >> 3)); >> +c->v1

Re: [Qemu-devel] [PATCH v3 1/7] target/m68k: add fscc.

2017-06-27 Thread Richard Henderson
On 06/27/2017 12:12 PM, Laurent Vivier wrote: case 3: /* Ordered Greater than or Equal Z || !(A || N) */ case 19: /* Greater than or Equal Z || !(A || N) */ +g_assert(FPSR_CC_A == (FPSR_CC_N >> 3)); +c->v1 = tcg_temp_new(); +c->g1 = 0; +tcg_gen_shli_i3

[Qemu-devel] [PATCH v3 1/7] target/m68k: add fscc.

2017-06-27 Thread Laurent Vivier
use DisasCompare with FPU conditions in fscc and fbcc. Signed-off-by: Laurent Vivier --- target/m68k/translate.c | 211 ++-- 1 file changed, 132 insertions(+), 79 deletions(-) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 7aa0fd