2008-02-24 15:10:06 +01:00
|
|
|
#ifndef TARGET_SPARC64
|
2011-07-03 23:01:59 +02:00
|
|
|
DEF_HELPER_1(rett, void, env)
|
|
|
|
DEF_HELPER_2(wrpsr, void, env, tl)
|
|
|
|
DEF_HELPER_1(rdpsr, tl, env)
|
2013-02-19 12:45:07 +01:00
|
|
|
DEF_HELPER_1(power_down, void, env)
|
2008-02-24 15:10:06 +01:00
|
|
|
#else
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_2(wrpil, TCG_CALL_NO_RWG, void, env, tl)
|
2011-07-03 23:01:59 +02:00
|
|
|
DEF_HELPER_2(wrpstate, void, env, tl)
|
|
|
|
DEF_HELPER_1(done, void, env)
|
|
|
|
DEF_HELPER_1(retry, void, env)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_1(flushw, TCG_CALL_NO_WG, void, env)
|
|
|
|
DEF_HELPER_FLAGS_1(saved, TCG_CALL_NO_RWG, void, env)
|
|
|
|
DEF_HELPER_FLAGS_1(restored, TCG_CALL_NO_RWG, void, env)
|
2011-07-03 23:01:59 +02:00
|
|
|
DEF_HELPER_1(rdccr, tl, env)
|
|
|
|
DEF_HELPER_2(wrccr, void, env, tl)
|
|
|
|
DEF_HELPER_1(rdcwp, tl, env)
|
|
|
|
DEF_HELPER_2(wrcwp, void, env, tl)
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(array8, TCG_CALL_NO_RWG_SE, tl, tl, tl)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_1(popc, TCG_CALL_NO_RWG_SE, tl, tl)
|
2015-09-03 17:42:23 +02:00
|
|
|
DEF_HELPER_FLAGS_3(ldda_asi, TCG_CALL_NO_WG, void, env, tl, int)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_5(casx_asi, TCG_CALL_NO_WG, tl, env, tl, tl, tl, i32)
|
2015-08-19 18:58:17 +02:00
|
|
|
DEF_HELPER_FLAGS_2(set_softint, TCG_CALL_NO_RWG, void, env, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(clear_softint, TCG_CALL_NO_RWG, void, env, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(write_softint, TCG_CALL_NO_RWG, void, env, i64)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_2(tick_set_count, TCG_CALL_NO_RWG, void, ptr, i64)
|
|
|
|
DEF_HELPER_FLAGS_3(tick_get_count, TCG_CALL_NO_WG, i64, env, ptr, int)
|
|
|
|
DEF_HELPER_FLAGS_2(tick_set_limit, TCG_CALL_NO_RWG, void, ptr, i64)
|
2008-05-22 20:16:25 +02:00
|
|
|
#endif
|
target-sparc: Add and use CPU_FEATURE_CASA
The LEON3 processor has support for the CASA instruction which is
normally only available for SPARC V9 processors. Binutils 2.24
and GCC 4.9 will support this instruction for LEON3. GCC uses it to
generate C11 atomic operations.
The CAS synthetic instruction uses an ASI of 0x80. If TARGET_SPARC64 is
not defined use a supervisor data load/store for an ASI of 0x80 in
helper_ld_asi()/helper_st_asi(). The supervisor data load/store was
choosen according to the LEON3 documentation.
The ASI 0x80 is defined in the SPARC V9 manual, Table 12—Address Space
Identifiers (ASIs). Here we have: 0x80, ASI_PRIMARY, Unrestricted
access, Primary address space.
Tested with the following program:
#include <assert.h>
#include <stdatomic.h>
void test(void)
{
atomic_int a;
int e;
_Bool b;
atomic_store(&a, 1);
e = 1;
b = atomic_compare_exchange_strong(&a, &e, 2);
assert(b);
assert(atomic_load(&a) == 2);
atomic_store(&a, 3);
e = 4;
b = atomic_compare_exchange_strong(&a, &e, 5);
assert(!b);
assert(atomic_load(&a) == 3);
}
Tested also on a NGMP board with a LEON4 processor.
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2014-03-11 10:36:00 +01:00
|
|
|
#if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_5(cas_asi, TCG_CALL_NO_WG, tl, env, tl, tl, tl, i32)
|
target-sparc: Add and use CPU_FEATURE_CASA
The LEON3 processor has support for the CASA instruction which is
normally only available for SPARC V9 processors. Binutils 2.24
and GCC 4.9 will support this instruction for LEON3. GCC uses it to
generate C11 atomic operations.
The CAS synthetic instruction uses an ASI of 0x80. If TARGET_SPARC64 is
not defined use a supervisor data load/store for an ASI of 0x80 in
helper_ld_asi()/helper_st_asi(). The supervisor data load/store was
choosen according to the LEON3 documentation.
The ASI 0x80 is defined in the SPARC V9 manual, Table 12—Address Space
Identifiers (ASIs). Here we have: 0x80, ASI_PRIMARY, Unrestricted
access, Primary address space.
Tested with the following program:
#include <assert.h>
#include <stdatomic.h>
void test(void)
{
atomic_int a;
int e;
_Bool b;
atomic_store(&a, 1);
e = 1;
b = atomic_compare_exchange_strong(&a, &e, 2);
assert(b);
assert(atomic_load(&a) == 2);
atomic_store(&a, 3);
e = 4;
b = atomic_compare_exchange_strong(&a, &e, 5);
assert(!b);
assert(atomic_load(&a) == 3);
}
Tested also on a NGMP board with a LEON4 processor.
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2014-03-11 10:36:00 +01:00
|
|
|
#endif
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_3(check_align, TCG_CALL_NO_WG, void, env, tl, i32)
|
2011-07-03 10:19:42 +02:00
|
|
|
DEF_HELPER_1(debug, void, env)
|
2011-07-03 23:01:59 +02:00
|
|
|
DEF_HELPER_1(save, void, env)
|
|
|
|
DEF_HELPER_1(restore, void, env)
|
2011-07-04 20:15:42 +02:00
|
|
|
DEF_HELPER_3(udiv, tl, env, tl, tl)
|
|
|
|
DEF_HELPER_3(udiv_cc, tl, env, tl, tl)
|
|
|
|
DEF_HELPER_3(sdiv, tl, env, tl, tl)
|
|
|
|
DEF_HELPER_3(sdiv_cc, tl, env, tl, tl)
|
2012-10-06 01:55:05 +02:00
|
|
|
DEF_HELPER_3(taddcctv, tl, env, tl, tl)
|
|
|
|
DEF_HELPER_3(tsubcctv, tl, env, tl, tl)
|
2012-10-06 01:55:03 +02:00
|
|
|
#ifdef TARGET_SPARC64
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_3(sdivx, TCG_CALL_NO_WG, s64, env, s64, s64)
|
|
|
|
DEF_HELPER_FLAGS_3(udivx, TCG_CALL_NO_WG, i64, env, i64, i64)
|
2012-10-06 01:55:03 +02:00
|
|
|
#endif
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_3(ldqf, TCG_CALL_NO_WG, void, env, tl, int)
|
|
|
|
DEF_HELPER_FLAGS_3(stqf, TCG_CALL_NO_WG, void, env, tl, int)
|
2008-05-22 20:16:25 +02:00
|
|
|
#if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64)
|
2015-09-03 22:37:09 +02:00
|
|
|
DEF_HELPER_FLAGS_4(ld_asi, TCG_CALL_NO_WG, i64, env, tl, int, i32)
|
|
|
|
DEF_HELPER_FLAGS_5(st_asi, TCG_CALL_NO_WG, void, env, tl, i64, int, i32)
|
2008-02-24 15:10:06 +01:00
|
|
|
#endif
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_1(check_ieee_exceptions, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_3(ldfsr, TCG_CALL_NO_RWG, tl, env, tl, i32)
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fabss, TCG_CALL_NO_RWG_SE, f32, f32)
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fsqrts, TCG_CALL_NO_RWG, f32, env, f32)
|
|
|
|
DEF_HELPER_FLAGS_2(fsqrtd, TCG_CALL_NO_RWG, f64, env, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmps, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpd, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpes, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmped, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_1(fsqrtq, TCG_CALL_NO_RWG, void, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpq, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpeq, TCG_CALL_NO_WG, tl, env)
|
2008-03-04 21:00:18 +01:00
|
|
|
#ifdef TARGET_SPARC64
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_3(ldxfsr, TCG_CALL_NO_RWG, tl, env, tl, i64)
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fabsd, TCG_CALL_NO_RWG_SE, f64, f64)
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_3(fcmps_fcc1, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmps_fcc2, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmps_fcc3, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpd_fcc1, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpd_fcc2, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpd_fcc3, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpes_fcc1, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpes_fcc2, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmpes_fcc3, TCG_CALL_NO_WG, tl, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmped_fcc1, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmped_fcc2, TCG_CALL_NO_WG, tl, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fcmped_fcc3, TCG_CALL_NO_WG, tl, env, f64, f64)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fabsq, TCG_CALL_NO_RWG, void, env)
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fcmpq_fcc1, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpq_fcc2, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpq_fcc3, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpeq_fcc1, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpeq_fcc2, TCG_CALL_NO_WG, tl, env)
|
|
|
|
DEF_HELPER_FLAGS_1(fcmpeq_fcc3, TCG_CALL_NO_WG, tl, env)
|
2008-03-04 21:00:18 +01:00
|
|
|
#endif
|
2012-03-18 23:16:04 +01:00
|
|
|
DEF_HELPER_2(raise_exception, noreturn, env, int)
|
2015-09-09 20:11:36 +02:00
|
|
|
#define F_HELPER_0_1(name) \
|
|
|
|
DEF_HELPER_FLAGS_1(f ## name, TCG_CALL_NO_RWG, void, env)
|
2008-09-10 21:54:51 +02:00
|
|
|
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_3(faddd, TCG_CALL_NO_RWG, f64, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fsubd, TCG_CALL_NO_RWG, f64, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fmuld, TCG_CALL_NO_RWG, f64, env, f64, f64)
|
|
|
|
DEF_HELPER_FLAGS_3(fdivd, TCG_CALL_NO_RWG, f64, env, f64, f64)
|
2011-10-15 19:20:20 +02:00
|
|
|
F_HELPER_0_1(addq)
|
|
|
|
F_HELPER_0_1(subq)
|
|
|
|
F_HELPER_0_1(mulq)
|
|
|
|
F_HELPER_0_1(divq)
|
2008-03-21 18:56:02 +01:00
|
|
|
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_3(fadds, TCG_CALL_NO_RWG, f32, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fsubs, TCG_CALL_NO_RWG, f32, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fmuls, TCG_CALL_NO_RWG, f32, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fdivs, TCG_CALL_NO_RWG, f32, env, f32, f32)
|
2008-03-21 18:56:02 +01:00
|
|
|
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_3(fsmuld, TCG_CALL_NO_RWG, f64, env, f32, f32)
|
|
|
|
DEF_HELPER_FLAGS_3(fdmulq, TCG_CALL_NO_RWG, void, env, f64, f64)
|
2008-03-21 18:56:02 +01:00
|
|
|
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fnegs, TCG_CALL_NO_RWG_SE, f32, f32)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fitod, TCG_CALL_NO_RWG_SE, f64, env, s32)
|
|
|
|
DEF_HELPER_FLAGS_2(fitoq, TCG_CALL_NO_RWG, void, env, s32)
|
2008-09-10 21:54:51 +02:00
|
|
|
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fitos, TCG_CALL_NO_RWG, f32, env, s32)
|
2008-09-10 21:54:51 +02:00
|
|
|
|
2008-03-21 18:56:02 +01:00
|
|
|
#ifdef TARGET_SPARC64
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fnegd, TCG_CALL_NO_RWG_SE, f64, f64)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_1(fnegq, TCG_CALL_NO_RWG, void, env)
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fxtos, TCG_CALL_NO_RWG, f32, env, s64)
|
|
|
|
DEF_HELPER_FLAGS_2(fxtod, TCG_CALL_NO_RWG, f64, env, s64)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fxtoq, TCG_CALL_NO_RWG, void, env, s64)
|
2008-03-21 18:56:02 +01:00
|
|
|
#endif
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fdtos, TCG_CALL_NO_RWG, f32, env, f64)
|
|
|
|
DEF_HELPER_FLAGS_2(fstod, TCG_CALL_NO_RWG, f64, env, f32)
|
|
|
|
DEF_HELPER_FLAGS_1(fqtos, TCG_CALL_NO_RWG, f32, env)
|
|
|
|
DEF_HELPER_FLAGS_2(fstoq, TCG_CALL_NO_RWG, void, env, f32)
|
|
|
|
DEF_HELPER_FLAGS_1(fqtod, TCG_CALL_NO_RWG, f64, env)
|
|
|
|
DEF_HELPER_FLAGS_2(fdtoq, TCG_CALL_NO_RWG, void, env, f64)
|
|
|
|
DEF_HELPER_FLAGS_2(fstoi, TCG_CALL_NO_RWG, s32, env, f32)
|
|
|
|
DEF_HELPER_FLAGS_2(fdtoi, TCG_CALL_NO_RWG, s32, env, f64)
|
|
|
|
DEF_HELPER_FLAGS_1(fqtoi, TCG_CALL_NO_RWG, s32, env)
|
2008-03-21 18:56:02 +01:00
|
|
|
#ifdef TARGET_SPARC64
|
2015-09-09 20:11:36 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fstox, TCG_CALL_NO_RWG, s64, env, f32)
|
|
|
|
DEF_HELPER_FLAGS_2(fdtox, TCG_CALL_NO_RWG, s64, env, f64)
|
|
|
|
DEF_HELPER_FLAGS_1(fqtox, TCG_CALL_NO_RWG, s64, env)
|
2008-05-22 20:16:25 +02:00
|
|
|
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(fpmerge, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmul8x16, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmul8x16al, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmul8x16au, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmul8sux16, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmul8ulx16, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmuld8sux16, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fmuld8ulx16, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fexpand, TCG_CALL_NO_RWG_SE, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_3(pdist, TCG_CALL_NO_RWG_SE, i64, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fpack16, TCG_CALL_NO_RWG_SE, i32, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_3(fpack32, TCG_CALL_NO_RWG_SE, i64, i64, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_2(fpackfix, TCG_CALL_NO_RWG_SE, i32, i64, i64)
|
|
|
|
DEF_HELPER_FLAGS_3(bshuffle, TCG_CALL_NO_RWG_SE, i64, i64, i64, i64)
|
2011-10-19 23:56:43 +02:00
|
|
|
#define VIS_HELPER(name) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f ## name ## 16, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i64, i64, i64) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f ## name ## 16s, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i32, i32, i32) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f ## name ## 32, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i64, i64, i64) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f ## name ## 32s, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i32, i32, i32)
|
2008-03-21 18:56:02 +01:00
|
|
|
|
2013-09-15 00:38:30 +02:00
|
|
|
VIS_HELPER(padd)
|
|
|
|
VIS_HELPER(psub)
|
2011-10-19 23:56:43 +02:00
|
|
|
#define VIS_CMPHELPER(name) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f##name##16, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i64, i64, i64) \
|
2012-10-09 21:53:09 +02:00
|
|
|
DEF_HELPER_FLAGS_2(f##name##32, TCG_CALL_NO_RWG_SE, \
|
2011-10-19 23:56:43 +02:00
|
|
|
i64, i64, i64)
|
2013-09-15 00:38:30 +02:00
|
|
|
VIS_CMPHELPER(cmpgt)
|
|
|
|
VIS_CMPHELPER(cmpeq)
|
|
|
|
VIS_CMPHELPER(cmple)
|
|
|
|
VIS_CMPHELPER(cmpne)
|
2008-03-21 18:56:02 +01:00
|
|
|
#endif
|
2011-07-03 12:42:23 +02:00
|
|
|
#undef F_HELPER_0_1
|
2008-03-21 18:56:02 +01:00
|
|
|
#undef VIS_HELPER
|
|
|
|
#undef VIS_CMPHELPER
|
2013-09-15 00:38:30 +02:00
|
|
|
DEF_HELPER_1(compute_psr, void, env)
|
2015-08-19 18:43:01 +02:00
|
|
|
DEF_HELPER_FLAGS_1(compute_C_icc, TCG_CALL_NO_WG_SE, i32, env)
|