Hi,
I am coding a C/C++ app that use mono embedded, on a Raspberry Pi (raspbian
latest version)
I have updated mono (from Mono repositories) :
Mono JIT compiler version 4.6.1 (Stable 4.6.1.3/abb06f1 Wed Sep 28 14:39:46
UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
w
Based on the generated machine code, you can see what path
emit_float_to_int takes:
sreg = f1
dreg = r29
ppc_f0 = f0
offset = 32
sub_offset = 4
cfg->frame_reg = r1 (stack register)
ppc_fctiwz (code, ppc_f0, sreg);
ppc_stfd (code, ppc_f0, offset, cfg->frame_reg);
ppc_lwz (code, dreg, offset + sub_o
I did all this with mono-sgen -v -v hello.exe
disassmble of ppc
http://pastebin.com/tzwF7pvz
disassmble of Intel
http://pastebin.com/vwnpp3Cq
Looks like the real PPC instruction that is being used to convert from
float to int is 'fctiwz'.
I see only one occurrence of 'fctiwz'.
Is there a way to
Thanks for your responses.
I have to learn PPC instruction set now.
code
http://pastebin.com/wRgB1JuU
Intel MIR Code:
http://pastebin.com/bcbbe9mk
PPC MIR Code:
http://pastebin.com/gNnrtAtk
Please notice Line 53 of 'PPC MIR Code' is different from Line 26 of 'Intel
MIR Code'.
Looks like in mo
Hi Cyd,
Which mono commit are you based on? It seems like the managed
System.Threading.InternalThread is missing the “last” field.
Thank you,
Ludovic
From: Mono-devel-list on behalf of Cyd
Haselton
Date: Tuesday, 11 October 2016 at 15:55
To: Miguel de Icaza
Cc: mono-devel
Subject: Re: [Mon
Full backtrace log posted here: http://pastebin.com/ncbnBWxh
Any ideas welcome.
On Oct 9, 2016 6:22 PM, "Cyd Haselton" wrote:
> Finally got back to this. Added gdb to the mono-wrapper script and got the
> following:
>
> Temporary breakpoint 1, main (argc=24, argv=0x7ff188) at
> ./main.c:213