Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] How to calculate the address in TableGen?"
2012 Jul 20
2
[LLVMdev] Help with Instruction Expansion on Mips
Hi everyone,
I am a newbie to LLVM. I am trying to ban some of instructions in Mips
Instruction, for example, lh, lhu, sh, and etc.
I have tried to directly comment lh, lhu, and sh to make llvm not to choose
these instruction when compiling, however, it usually cause a 'can not
select ...' error when using 'short' data type in source code.
Then I tried to expand these instructions
2012 Jul 20
0
[LLVMdev] Help with Instruction Expansion on Mips
why do you want to "ban" certain instructions?
is this for some architectural variant?
the compiler is trying to match patterns from the target independent
part of the code generator.
if you remove instructions, the compiler in many cases will no longer be
able to match certain patterns
and you will get thos "can not select" messages.
On 07/20/2012 03:05 AM, Geraint Yang
2012 Jul 20
2
[LLVMdev] Help with Instruction Expansion on Mips
Thanks for your reply.
We are trying to implement a simple Mips-based CPU with just for teaching
purpose, so we delete some instructions which are not commonly used, thus
the task won't be too hard for students. I am responsible for modifying the
compiler so that the compiler won't emit unsupported instructions.
In order to avoid "can not select" error, I am trying to expand
2012 Jul 20
0
[LLVMdev] Help with Instruction Expansion on Mips
YOu have to look for which DAG fragments are not being matched.
Then you can create patterns for those using alternate sequences.
When you disablea given instruction, don't just disable it, but also
look at what pattern it was matching.
Then create a patten for that using remaining instructions or in some
cases you might have to call a library function, as in the case of
floating
2010 Apr 26
1
valgrind ipconfig work
this is just on the common path, need to checkout others too,
but a start:
commit 5501109f6597f2bbed17a264b247c36220362dfb
Author: maximilian attems <max at stro.at>
Date: Mon Apr 26 08:07:51 2010 +0200
[klibc] ipconfig: Fix valgrind errors
valgrind was rightfully complaining on ipconfig eth0:
ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
all
2011 Mar 28
5
[PATCH 1/3] Only peek and discard packets from specified device.
This patch fixes a bug on systems with multiple connected network devices.
As packet_peek uses all devices to receive data instead of a specific
device. As the return value was never reset it was possible that packets
from other devices were returned by packet_peek. That means that the
ifindex did not match any ifindex of the specified devices the packet was
never removed and packets for the
2017 Sep 14
2
Live Register Spilling
> On Sep 13, 2017, at 9:03 PM, jin chuan see via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi All,
>
> Thanks for the reply. I managed to identify and fixed a few errors in my implementation.
>
> However, there are a few errors that i am not sure what is it indicating.
> For starters, i think i should explain what i am trying to achieve.
>
> I am
2011 Mar 27
4
ipconfig problem if multiple devices are up
Hi,
it seems that ipconfig has a problem if multiple devices are up and
connected to the same network. It seems that it uses the wrong
socket/device index to compare it to incoming packet. To be more
precise, the packet gets discarded in do_pkt_recv as the ifindex from
state differs always from the incoming packet
To reproduce create two tap devices:
$ sudo tunctl -u uli -t tap0
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't
2008 May 13
5
[LLVMdev] Preferring to use GCC instead of LLVM
me22.ca wrote:
> You said that if I have to install GCC, you might as well
> just use it for everything. That statement very clearly
> doesn't apply anymore, since it's binutils that's the
> dependency. Or if you still stand by it, it means that
> you consider GCC to also be "incomplete".
How do I get the necessary binutils on Windoze? Install
MinGW or
2009 Jun 04
1
[LLVMdev] endian issue of llvm-gcc and llvm backend
Hi, all
As I'm a Chinese, be patient of my poor description below.
I compiled libgcc into llvm bitcode in both big endian and little endian.
and got 2 different version of function: _ashldi3, the following is the
fragment of this function:
little endian:
=============================================
......
target datalayout =
2002 Nov 19
2
deny host and auth users not working over ssh
Hi-
I have a solaris 8 box with the latest ssl, ssh, and rsync all set up.
ssh and an apache-sll site are running good - I feel confident that
ssl and ssh are set up correctly, but when I use rsync over ssh, it
(rsync) will allow me to sync as any (system) user from any host ecven
though the rsyncd.conf file in /etc has user auth = <one real system
user> and host deny = *
is there
2017 Sep 12
2
Live Register Spilling
Running llc with '-verify-machineinstrs' may tell you which instruction break the SSA form.
Ruiling
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of jin chuan see via llvm-dev
Sent: Monday, September 11, 2017 10:02 AM
To: Matthias Braun <mbraun at apple.com>
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Live Register Spilling
Sorry about the
2006 May 30
2
SSL certificate and rails...
Newbie Q:
Building a webstore and need to have SLL-encryption on the checkout
pages...
I have no previous experience with SSL.
I understand that I need a SSL-certificate. I''m planning on purchasing
the cert from RapidSSL, but to do that I need to generate a CSR
(Certificate Signing Request). How do I do that?
How do I install the certificate on the server? Are there any guides on
2009 Mar 04
1
how to estimate distribution?
Dear R-Experts,
I have an empirical dataset with 150 subjects for 24 observations.
In each observation, each subject can have a score in the range 0:3.
I made then a simple index making the sum of the values in each row,
so each subject have a score between 0 and 72.
I was thinking about what kind of theoretical distribution such an
index should have, so I try to make things random like:
2016 Jun 02
2
BPF backend with vector operations - error "Could not infer all types in, pattern!"
Hello.
I come back to this older thread.
Again, because of i64immSExt32 I receive TableGen error "Could not infer all types
in, pattern!" (exact details written below). So far I'm not able to generate selection
code with TableGen for the ADD_r* instructions, etc:
def i64immSExt32 : PatLeaf<(imm),
[{return
2018 Sep 06
3
How to add Loongson ISA for Mips target?
Hi LLVM developers,
GCC[1] is able to use Loongson ISA[2] for instruction selection:
$ cat hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
$ gcc -O0 -S hello.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
2020 May 12
2
BPF tablegen+codegen question
In BPF, an ADD instruction is defined as a 2 register instruction:
0x0f. add dst, src. dst += src
In BPFInstrInfo.td this kind of ALU instruction is defined with:
def _rr : ALU_RR<BPF_ALU64, Opc,
(outs GPR:$dst),
(ins GPR:$src2, GPR:$src),
"$dst "#OpcodeStr#" $src",
[(set
2006 Oct 01
2
[LLVMdev] Instruction descriptions question
Hi,
I'm trying to implement a new backend for an embedded CISC processor.
Therefore I thought that it makes sense to take X86 target as a basis,
to save some time.
But when I look into the X86InstrInfo.td, I have a very strong feeling
that it is one of the most complex instruction set descriptions
compared to other targets. I can imagine that this is due to the
complexity of X86's
2012 Aug 06
4
[LLVMdev] Casting from float to unsigned char - incorrect output?
I am compiling the following code for the MIPS architecture:
unsigned char trunc(float f) {
return (unsigned char) f;
}
and it produces the following assembly (directives removed for convenience:
trunc:
trunc.w.s $f0, $f12
mfc1 $2, $f0
jr $ra
nop
However, this does not seem to produce the correct output for negative
numbers. When I run the following code, I get