sparc v8 and testsuite fixes
This commit is contained in:
@@ -242,6 +242,10 @@ ffi_closure_v8:
|
|||||||
be,a done1
|
be,a done1
|
||||||
ldd [%fp-8], %i0
|
ldd [%fp-8], %i0
|
||||||
|
|
||||||
|
cmp %o0, FFI_TYPE_UINT64
|
||||||
|
be,a done1
|
||||||
|
ldd [%fp-8], %i0
|
||||||
|
|
||||||
ld [%fp-8], %i0
|
ld [%fp-8], %i0
|
||||||
done1:
|
done1:
|
||||||
jmp %i7+8
|
jmp %i7+8
|
||||||
|
|||||||
@@ -127,3 +127,6 @@
|
|||||||
#define PRId64 "I64d"
|
#define PRId64 "I64d"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PRIuPTR
|
||||||
|
#define PRIuPTR "u"
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -12,7 +12,10 @@
|
|||||||
|
|
||||||
typedef unsigned char u8;
|
typedef unsigned char u8;
|
||||||
|
|
||||||
__attribute__((noinline)) uint8_t
|
#ifdef __GNUC__
|
||||||
|
__attribute__((noinline))
|
||||||
|
#endif
|
||||||
|
uint8_t
|
||||||
foo (uint8_t a, uint8_t b, uint8_t c, uint8_t d,
|
foo (uint8_t a, uint8_t b, uint8_t c, uint8_t d,
|
||||||
uint8_t e, uint8_t f, uint8_t g)
|
uint8_t e, uint8_t f, uint8_t g)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
Originator: From the original ffitest.c */
|
Originator: From the original ffitest.c */
|
||||||
|
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-options -O2 } */
|
|
||||||
|
|
||||||
#include "ffitest.h"
|
#include "ffitest.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user