Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] [cfe-dev] want to intercept array dereferences"
2015 Apr 08
2
[LLVMdev] want to intercept array dereferences
If I understand correctly, LLVM is a *typed* assembly language. Could
I just look for a pointer type plus an integer type followed by a
dereference? That would catch both a[n] and *(a+n).
Gry
On Tue, Apr 7, 2015 at 10:46 PM, Bruce Hoult <bruce at hoult.org> wrote:
> Far too late. That would need to be in Clang.
>
> On Wed, Apr 8, 2015 at 5:36 PM, Gry Gunvor <gry.gunvor at
2015 Apr 08
2
[LLVMdev] want to intercept array dereferences
Normally for int n unknown at static time, "a[n]" and "*(a+n)" results
in an add and then a dereference. I want instead for it to compile to
a system call that takes two arguments, a and n. Where should I
intercept this in LLVM?
Gry
2015 Apr 07
4
[LLVMdev] how much RAM do I really need to build a devel version of LLVM?
I tried half a gig and that didn't work. I just want to know before I
go buy a new machine.
Gry
2015 Dec 20
2
Fwd: getting started changing the emitted code: at one instruction at function top
I'm just getting started changing the emitted code. Suppose I want to
just add one new instruction to the function prologue at the top.
Where would I do this? Does it depend on the backend? I'm targeting
RISCV64.
Gry
2018 Dec 03
3
The builtins library of compiler-rt is a performance HOG^WKILLER
"Craig Topper" <craig.topper at gmail.com> wrote:
> None of the "si" division routines will be used by x86.
That was my expectation too.
> They exist for targets that don't support the operations natively.
> X86 supports them natively so will never use the library functions.
So they SHOULD not be built (or at least not shipped) with the
builtins library
2018 Dec 03
3
The builtins library of compiler-rt is a performance HOG^WKILLER
Hi @ll,
LLVM-7.0.0-win32.exe contains and installs
lib\clang\7.0.0\lib\windows\clang_rt.builtins-i386.lib
The implementation of (at least) the multiplication and division
routines __[u]{div,mod,divmod,mul}[sdt]i[34] shipped with this
libraries SUCKS: they are factors SLOWER than even Microsoft's
NOTORIOUS POOR implementation of 64-bit division shipped with
MSVC and Windows!
The reasons: 1.
2001 May 03
2
wineserver: /root/.wine/config is not a valid registry file
Hi!
When I'm trying to run wine (I've tried many compilations), I got something
like that:
wineserver: /root/.wine/config is not a valid registry file
Why I'm not using /etc/wine.conf, /usr/etc/wine.conf or
/usr/local/etc/wine.conf? Because wineserver wants only
$HOME/.wine/config...
When I delete this file wineserver 'says' that I don't have configuration
file (even
2020 Aug 21
2
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
"David Greene" <dag at hpe.com> wrote:
> Stefan Kanthak via llvm-dev <llvm-dev at lists.llvm.org> writes:
>
>> "Michael Kruse" <llvmdev at meinersbur.de> wrote:
>>
>>> I think David is not referring to the capitalization of file names, but to
>>> "DUPLICATE", "WASTING", "NOT AMUSED",
2020 Aug 30
5
BUG: complete misunterstanding of the MS-ABI
Objects compiled for the MS-ABI don't conform to it!
Data types beyond 64 bit MUST BE returned by the callee via the
hidden first argument allocated by the caller, NOT in XMM0!
Demo/proof: from this source
--- llvm-bug.c ---
#ifndef __clang__
typedef struct {
unsigned __int64 low;
unsigned __int64 high;
} __uint128_t;
#else
__attribute__((ms_abi))
#endif
__uint128_t
2017 Apr 12
3
Module Versioning
Hi,
[ouch, it take me a year? thank you all for this very interesting
thread that I'm going to finish reading now.]
Pete Batard via Syslinux:
> I'll skip the EFI part of tails (that uses grub/EFI) to talk only
> about the BIOS/Syslinux part.
JFTR Tails uses GRUB only for 32-bit UEFI. We use syslinux for BIOS
and 64-bit UEFI.
> So, one thing Rufus will need to do is find a
2020 Aug 21
3
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
"Philip Reames" <listmail at philipreames.com> wrote:
> Stefan,
>
> I can't tell if you're intentionally trolling, or are simply oblivious,
> but to this observer you have clearly crossed well over the line of
> acceptable behavior.
Since you seem to have some experience in taking the point of view of a
third person: do you find LLVM's
2018 Nov 06
4
Rather poor code optimisation of current clang/LLVM targeting Intel x86 (both -64 and -32)
Hi @ll,
while clang/LLVM recognizes common bit-twiddling idioms/expressions
like
unsigned int rotate(unsigned int x, unsigned int n)
{
return (x << n) | (x >> (32 - n));
}
and typically generates "rotate" machine instructions for this
expression, it fails to recognize other also common bit-twiddling
idioms/expressions.
The standard IEEE CRC-32 for "big
2006 Feb 21
1
Resolution of plots?
Hello.
I have a problem regarding the output from the R plot window.
I have a quite dense dendrogram that I wish to visualize using a suitable
software (like Illustrator), and to accomplish that I right click on the
image from the plotting device and I save as metafile. The problem is when I
scale up the image, some of the vectors in the dendrogram image are
inseparable.
My question is if
2014 Mar 24
2
Problem with web services
Hey oh
i'm using one Ubuntu 12.04, and i set up a radio server automatized with
airtime.
The problem is, even i don't have any problem checking the airtime site or
the icecast web service by my web browser, when i install my radio online
player, which is basicaly a .html page with javascript & html language
inside, the icecast web service can't find it, the same setup i use it on
2014 Aug 01
3
[LLVMdev] [PowerPC] ABI questions
On 30 Jul 2014, at 21:29, Ulrich Weigand wrote:
> The ELFv1 ABI is used on 64-bit big-endian Linux and AIX.
There's one small difference between the two: with the 64 bit ELFv1/
SVR4 ABI, tail padding for structs passed by value is only performed
in case the struct is larger than 8 bytes, while for AIX 64 bit it's
always done. As an aside, on Darwin/ppc64 it's done if the
2020 Aug 21
2
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
"Michael Kruse" <llvmdev at meinersbur.de> wrote:
> I think David is not referring to the capitalization of file names, but to
> "DUPLICATE", "WASTING", "NOT AMUSED", "BOGUS" etc.
I EMPHASIZE in the only way possible with plain text.
> It should be possible to report problems in a professional manner.
It should also be possible
2012 Mar 04
4
dsync replication available for testing
In dovecot-2.1 hg you can now test dsync-based replication. Everything
isn't finished yet, but it appears to work and I've enabled it for my
@dovecot.fi mails. Some issues:
- public namespace isn't replicated at all
- shared namespace is replicated, but not private mail flags
- I've only tested SSH replication setup now, not director replication
setup (and director setup
2007 Jun 20
1
NULL ptr dereferences found with Calysto static checker
Hi,
I've ran my static checker Calysto on openssh and found the following bug:
Possible NULL-ptr deref (vc536):
@/work/benchmarks/SOURCES/openssh-4.6p1/moduli.c:173
+ ptr gtm returned from gmtime dereferenced without checking (gmtime can
return NULL).
There are probably more possible NULL-ptr dereferences, but Calysto
currently does not check the usage of library functions (for instance,
if
2018 Nov 26
2
BUGS in code generated for target i386-win32
"Tim Northover" <t.p.northover at gmail.com> wrote:
> Hi Stefan,
>
> On Mon, 26 Nov 2018 at 12:37, Stefan Kanthak via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> LLVM/clang generates wrong code for the following program
>> (see <https://godbolt.org/z/UZrrkG>):
>
> It looks like all of these issues come down to mismatched
2019 Jul 25
1
[PATCH] gpu: drm: qxl: Fix possible null-pointer dereferences in qxl_crtc_atomic_flush()
In qxl_crtc_atomic_flush(), there is an if statement on line 376 to
check whether crtc->state is NULL:
if (crtc->state && crtc->state->event)
When crtc->state is NULL and qxl_crtc_update_monitors_config() is call,
qxl_crtc_update_monitors_config() uses crtc->state on line 326:
if (crtc->state->active)
and on line 358:
DRM_DEBUG_KMS(...,