bug-guile
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
From
:
dsmich
Subject
:
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
Date
:
Fri, 19 Jun 2020 19:10:35 +0000
Here is the start of a case to go in tests/movi.c:
#include "test.h"
// Should really test all of the cases seen in
// arm-cpu.c: encode_thumb_immediate()
/* 00000000 00000000 00000000 abcdefgh */
/* 00000000 abcdefgh 00000000 abcdefgh */
/* abcdefgh 00000000 abcdefgh 00000000 */
/* abcdefgh abcdefgh abcdefgh abcdefgh */
/* 1bcdefgh << 24 ... 1bcdefgh << 1 */
static void
run_test(jit_state_t *j, uint8_t *arena_base, size_t arena_size)
{
jit_begin(j, arena_base, arena_size);
jit_movi(j, JIT_R0, 0xa500a500);
jit_retr(j, JIT_R0);
jit_uword_t (*f)(void) = jit_end(j, NULL);
fprintf(stderr, "returns 0x%08x\n", f());
ASSERT(f() == 0xa500a500);
}
int
main (int argc, char *argv[])
{
return main_helper(argc, argv, run_test);
}
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
Ludovic Courtès
,
2020/06/17
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
dsmich
,
2020/06/18
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
Ludovic Courtès
,
2020/06/18
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
dsmich
,
2020/06/18
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
Andrew Gierth
,
2020/06/19
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
Ludovic Courtès
,
2020/06/20
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
Ludovic Courtès
,
2020/06/20
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
dsmich
<=
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
,
dsmich
,
2020/06/22
Prev by Date:
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
Next by Date:
bug#41956: [PATCH] ice-9: exceptions: Properly format the error message.
Previous by thread:
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
Next by thread:
bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
Index(es):
Date
Thread