Displaying 20 results from an estimated 500 matches similar to: "POssible bug in the Arm code generator"
2015 Sep 06
2
POssible bug in the Arm code generator
Hi all,
I do a little work on the Glasgow Haskell Compiler (GHC) which uses
LLVM for the backend when compiling for Arm and some other targets.
The reason I am posting to this list is that a GHC compiled program
(using the LLVM backend) is getting an illegal instruction exception
on the this instruction:
ldr r0, [r0]
According to the Arm archtecture manual:
2016 Dec 09
1
parallel::detectCores() bug on Raspberry Pi B+
In R 3.3.2 detectCores() in package parallel reports 2 rather than 1 on
Raspberry Pi B+ running Raspbian. (This report is just 'for the record'.
The model is superseded and I think no longer produced.) The problem
seems to be caused by
grep processor /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
(On Raspberry Pi 2 and 3 there is no error because
2011 Jul 01
2
[LLVMdev] Please review my patch to make GHC calling convention work on ARM
All,
I would like to submit the attached patch, which allows the GHC (Glasgow
Haskell Compiler) calling convention to work on ARM targets.
Could some nice person please review this code, so I can move towards
getting it committed?
I have thoroughly tested this patch again GHC on a Debian-ARM (armel)
system. Unfortunately my understanding of LLVM is limited, so it's
likely I'm not
2017 Oct 10
2
Make LLD output COFF relocatable object file (like ELF's -r does). How much work is required to implement this?
TL;DR:
I'm trying to evaluate if LLD can be used with GHC (Glasgow Haskell
Compiler) on Windows.
Haskell binary code is usually deployed in "packages". A package
typically provides static library(ies) and optionally – shared
library(ies) and/or prelinked ('ld -r') object file. The latter is the
best way to satisfy GHC runtime linker, since it requires no separate
2010 Mar 03
2
[LLVMdev] [PATCH] New calling convention for use by GHC
Hi all,
As previously mentioned on this list the Haskell compiler GHC has a new
LLVM based back-end. The back-end needs a new calling convention to
efficiently use LLVM and that is what this patch does, just for X86 at
the moment.
Breakdown:
1) Need actual calling convention
Touches:
- include/llvm/CallingConv.h
- lib/Target/X86/X86CallingConv.td
2) Handling new calling
2019 Oct 22
2
NT_STATUS_LOGON_FAILURE
Like so many others, I'm having NT_STATUS_LOGON_FAILURE issues. I've tried
all the fixes I could find to no avail.
My environment: Cent 7 (Linux 4.19.72-v7l.1.el7) with Samba 4.9.1, bound
to AD via Realmd. SSSD for ACL's, winbind for user map.
Installed packages: nano, ntpdate, ntp, realmd, sssd, sssd-tools,
sssd-winbind-idmap,
samba-winbind, adcli, oddjob, oddjob-mkhomedir,
2016 Oct 21
3
Segfault in llc 3.8.0 building GHC
Hi all,
I'm hitting a segfault in llc when trying to build GHC:
http://sprunge.us/ZVGB. What is the best way to debug this? I'm able to
bump to 3.8.1 if needed, but GHC tends to break when updating major
versions due to IR incompatibilities.
Thanks,
Shea
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size:
2012 Jun 29
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Renato,
On 06/25/12 12:13 AM, Renato Golin wrote:
> Hi Karel,
>
> I understand this patch has already been merged (to 3.0), so don't
> take my question as stopping the merge to head, I'm just making sure I
> got it right... The rest looks correct.
>
> + CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
> + CCIfType<[f64], CCAssignToReg<[D8, D9,
2011 Jul 01
0
[LLVMdev] Please review my patch to make GHC calling convention work on ARM
Hi Steve,
I'm not an LLVM developer but am the author/maintainer of the LLVM
backend in GHC.
The patch looks mostly good to me (although I am not that familiar
with ARM so could easily have missed something). My main concern is
why are you avoiding using the R0 - R3 registers?
Also, could you please update me on the status of this work. I assume
you are getting GHC running in registerised
2017 Oct 10
3
Make LLD output COFF relocatable object file (like ELF's -r does). How much work is required to implement this?
On 10/10/2017 9:00 PM, Rui Ueyama wrote:
> I'm not sure if I understand correctly. If my understanding is
> correct, you are saying that GHC can link either .o or .so at runtime,
> which sounds a bit odd because .o is not designed for dynamic linking.
> Am I missing something?
Yes, GHC runtime linker *does* link .o files not only doing all
necessary relocations but also
2018 Aug 22
2
LLVM and heap-allocated thread stacks
In some language implementations, such as the Glasgow Haskell Compiler
(GHC) and the reference implementation of Go, a thread’s stack is
allocated as a data structure on the garbage-collected heap. The
garbage collector is free to move this data structure whenever it is
invoked.
Currently, GHC’s LLVM backend does not use the C stack. However, there
have been discussions about whether using the
2017 Oct 09
2
Make LLD output COFF relocatable object file (like ELF's -r does). How much work is required to implement this?
Hi,
How far are we from having '-r' in the LLD COFF linker?
I'd try to implement this if not too much effort is required.
Any suggestions and/or pointers?
Cheers,
Kyra
2011 Oct 14
3
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Duncan,
On 10/14/11 03:56 PM, Duncan Sands wrote:
> Hi Karel,
>
>> > const unsigned*
>> > ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF)
>> const {
>> > + bool ghcCall = false;
>> > +
>> > + if (MF) {
>> > + const Function *F = MF->getFunction();
>> > + ghcCall = (F ? F->getCallingConv() ==
2012 Jun 24
4
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hello,
first of all: one of the LLVM 3.0 new feature was a support for GHC
specific calling convention on ARM platform. It looks like this support
was merged just into 3.0 branch, specifically it appeared in 3.0 RC2.
Anyway, I hope this is just a mistake or omission that such support was
merged only into 3.0 and not also into HEAD. I've just found it by
testing LLVM 3.1 with GHC 7.4.2 and
2014 Jan 08
4
[LLVMdev] AArch64: GHC compilation issue.
Hi Tim,
On 01/ 8/14 10:24 PM, Tim Northover wrote:
> Hi Karel,
>
>> I've observed the same issue with LLVM 3.4 as distributed by Ubuntu 13.10
>> and with LLVM HEAD compiled on January 6. I'm able to provide the byte-code
>> file which results in this issue, but would first like to know if this is a
>> known issue in AArch64 target support or if I shall submit
2017 Jan 14
2
Problems with tbaa in llvm 4.0
Hi all,
I do a little work on the GHC haskell compiler. One of the things I
do is compile current GHC git HEAD against the next release of LLVM
to find issues and adapt the GHC code as early as possible.
A recent modification to LLVM is now rejecting GHC generated LLVM
IR that was previously accepted. I discussed this on IRC with
sanjoyd who explained what had changed and gave me some hints
2014 Oct 27
2
[LLVMdev] LLVM Weekly - #43, Oct 27th 2014
LLVM Weekly - #43, Oct 27th 2014
================================
If you prefer, you can read a HTML version of this email at
<http://llvmweekly.org/issue/43>.
Welcome to the forty-third issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by [Alex
Bradbury](http://asbradbury.org).
2010 Feb 20
2
[LLVMdev] glasgow haskell appears to be adopting LLVM
On Feb 19, 2010, at 13:09, Chris Lattner wrote:
> On Feb 19, 2010, at 11:33 AM, james woodyatt wrote:
>>
>> Let us all now give a warm welcome to our new Haskell comrades!
>
> Very nice, care to add a GHC entry to the LLVM Users page?
I'll prepare a patch that could be applied when the merge is formally released by the GHC developers.
—
j h woodyatt <jhw at
2010 Mar 03
0
[LLVMdev] [PATCH] New calling convention for use by GHC
On Mar 2, 2010, at 5:33 PM, David Terei wrote:
> Hi all,
>
> As previously mentioned on this list the Haskell compiler GHC has a new LLVM based back-end. The back-end needs a new calling convention to efficiently use LLVM and that is what this patch does, just for X86 at the moment.
Nice,
> The GHC developers would love to get this included in LLVM so that we don't need to
2011 Oct 14
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Karel,
>>> > const unsigned*
>>> > ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF)
>>> const {
>>> > + bool ghcCall = false;
>>> > +
>>> > + if (MF) {
>>> > + const Function *F = MF->getFunction();
>>> > + ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false);