Displaying 20 results from an estimated 100 matches similar to: "Wrapper functions for standard library functions"
2017 Dec 11
2
New x86 instruction with opcode 0x0F 0x7A
Hi all,
I'm trying to simulate an extended x86 architecture on gem5 with several
new instructions. My hardware setup is done and now I'd like llvm to accept
the existence of the new instruction passed in inline assembly and output
the correct opcode and registers. I chose the two-byte opcode 0x0F 0x7A and
I would like the instruction to have the same operands and return values
as CVTPS2PI
2018 Jan 19
1
Registers for i128 data type not registered in X86
Hi,
I have a set of new registers for x86 which I defined in
X86RegisterInfo.td to be:
def POI0: X86Reg<"poi0", 0>;
def POI1: X86Reg<"poi1", 1>;
def POI2: X86Reg<"poi2", 2>;
def POI3: X86Reg<"poi3", 3>;
def POI4: X86Reg<"poi4", 4>;
def POI5: X86Reg<"poi5", 5>;
def POI6: X86Reg<"poi6",
2018 Jan 18
1
LEAQ instruction path
Hi,
I've been trying to teach LLVM that pointers are 128-bit long, which
segfaults with some seemingly unrelated stacktrace when I try to take an
address of a variable. Since stack saving and loading seems to work fine, I
dare to assume the instruction causing problems there is leaq. Now I've
done a search for leaq of the entire LLVM codebase with no success and I'd
like to know which
2018 Jan 16
1
Beginner question: extending pointer to 128 bits segfaults
Hi all,
I've been trying to extend pointer size of the X86 target to 128 bits. For
the prortype, I would like nothing more than the pointers being i128 type
with the same value as before. All I've done was changing the data layout
string to p:128:128 and when trying to run a basic program such as:
int a = 42;
int *p = &a;
it segfaults with the following stack trace:
#0
2018 Jan 22
1
X86 new registers not being allocated
Hi all,
I have a bunch of new registers set up in X86RegisterInfo.td, the important
part being
def PR128 : RegisterClass<"X86", [i128],
128, (sequence "POI%u", 0, 7)>;
def VR128 : RegisterClass<"X86", [v4f32, v2f64, v16i8, v8i16, v4i32, v2i64],
128, (add PR128, FR32)>;
I have an entry in
2018 Jan 10
1
X86 target description string
Hi all,
the backend data layout string is generated in X86TargetMachine.cpp. As far
as I understand, however, that is not the only place where the target
description string is generted. Where does the expected target description
string come from?
Thanks!
--
----------------
Barbora Murinová
The University of Edinburgh
SK: +421905718390
UK: +447477833795
-------------- next part --------------
2018 Feb 16
0
CopyToReg node
Hi all,
I'm having some trouble with x86 generating some CopyToReg nodes with a
null 2nd operand. I've done an extensive search of the entire codebase and
found that all creation of CopyToReg nodes happens at SelectionDAG.h,
eventually, but my debug messages did not register a call to either of the
three getCopyToReg methods it provides. Is there any other place where
CopyToReg nodes get
2018 Jan 29
0
Additional instructions created
Hi all,
I've got a few new registers and I've extended the pointer size to be 128
bits. For allocas, that is done by adding another SelectionDAG after
FrameIndex that extends it to 128 bits. That seems to work okay, except
that the final representation throws in additional instructions. For
example for a piece of code such as:
int a;
int* pointer = &a;
it returns
pushq %rbp
2013 Sep 13
2
[LLVMdev] [lld] Implementing the aliasing feature
Hi Nick,
This would work only if an alias is another name for the same
symbol(weak symbols).
If what is being aliased is another function definition, which is a non
zero sized atom, aliasing will not work.
I was thinking to model this for ELF for the below functionalities :-
a) __wrap
For example : --wrap fn
What I plan to do here is,
create a undefined function fn atom
create a defined
2003 Apr 01
0
BUG REPORT: change_trust_account_password works in 2.0.7, fails in 2.2.3a through 2.2.8
I posted an earlier message about change_trust_account_password
failing.
I have been able to reproduce the error with
2.2.3a
2.2.5
2.2.7a
2.2.8
I can't seem to get 2.2.1 to even attempt to change the machine
account password, even with
machine password timeout = 300
The log of the failure looks like this:
[2003/04/01 12:34:11, 1, pid=28443] lib/debug.c:(258)
INFO: Debug class all
2013 Sep 13
0
[LLVMdev] [lld] Implementing the aliasing feature
On Sep 13, 2013, at 3:35 PM, Shankar Easwaran <shankare at codeaurora.org> wrote:
> This would work only if an alias is another name for the same symbol(weak symbols).
I don’t know what that means. Can you clarify?
>
> If what is being aliased is another function definition, which is a non zero sized atom, aliasing will not work.
That is the exact scenario I think it *will* work
2005 Oct 13
1
Noob help with IAX
Ok so I've just built and installed a CVS (HEAD) version of asterisk
on RHFC2 running a 2.6.13.3 kernel.org kernel. I installed the samples
via "make samples". Everything seems to work except one thing. I'm
trying to do the connect to the Digium IAX demo server portion of the
demo (dial 500) and I just get the following messages. I am behind a
NAT server and did NOT change
1998 Jan 27
0
HPUX compilations and Samba 1.9.18p2
First a hint for those who try to compile newest Samba in HPUX 8.0x with
HP's ANSI C compiler:
You get this message:
Compiling util.c
cc: "smb.h", line 1598: error 1590: "share_mode_entry" is not a typedef name.
cc: "smb.h", line 1598: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined.
*** Error code 1
Somehow HP's compiler
2008 Jun 30
0
[ wxruby-Feature Requests-20905 ] Add MapXXX methods to Wx::Printout
Feature Requests item #20905, was opened at 2008-06-30 18:06
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=221&aid=20905&group_id=35
Category: Missing method(s) in class
Group: None
Status: Open
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Add MapXXX methods to Wx::Printout
Initial Comment:
These are
2006 Mar 08
2
Survival Plots by Strata
All,
I am struggling to create a survival plot using LTRC data for each year
of a 10 year period.
I have a set of individuals (birds) where 'entry' is the day of the
year (1-365) they are released (let out of pens) into the wild (2 year
data snip below). 'Entry' (e.g., day of year the first bird is
released for each year) is highly variable, ranging from 48 to >250.
When I
2005 Oct 05
2
Confused
Hi all,
I really don't know where to go from here. I've traced and pasted, but
never heard responses....
I'm getting the following (see bottom of this email) in a single day of
dmesg....most of the time the error message in the log file is something like:
Oct 5 09:21:43 mail1 dovecot: imap(*****): file mbox-save.c: line
280 (mbox_save_init_file): assertion failed:
2006 Mar 11
0
plugins and testing
Are plugins supposed to load during testing and in the console?
I''ve created a couple of plugins for activerecord and when I test AR
models, I don''t see any evidence that these plugins are active.
Now sure, I could write the tests in the plugin itself, but I really
would like to bake that test into the unit tests so that I don''t have to
assume they will pass
2006 Mar 20
0
Estimating Daily Survival
R Users,
I was wondering if someone might point me in the right direction. I am using a Cox model (survival package) to evaluate survival of pen-reared birds (time to event data collected daily) and I have been trying to determine how I can estimate a 'daily' survival rate and std error from the results of a Cox model?
Using survfit (see input data below) I computed the predicted
2006 Mar 07
2
LoginEngine problem
The LoginEngine plugin of RailsEngines can be show working well in the
video http://rails-engines.rubyforge.org/movies/engines_intro.mov
However it does not work on my pc. I have had the rails 1.0 installed as
well as worked under windows enviroment.
After I have repeated the steps that the video shows,the login action
does not take into effect while not redirect to the home action as the
2006 Mar 14
1
Dreamhost Error - HELP
I just uploaded my rails app about 20 minutes ago, and I''m getting a
Forbidden 403 error. Does anyone know why? Am I supposed to setup
permissions somewhere?
I don''t know if it just takes time for things to settle in, and then it
will work, or if I''m doing something wrong.
Can anyone please help!?
Thanks!
--
Posted via http://www.ruby-forum.com/.