Displaying 20 results from an estimated 264 matches for "fibonaccy".
Did you mean:
fibonacci
2018 May 30
0
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
>
>
> `SROA' is an early stage pass running at the very beginning of the
> pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
> shows SROA on function as one of the major culprits of Debug Info
> loss.
>
>
The methodology I used is with the opt-bisect-limit option on clang, so
it's not strictly the case that the results presented
2018 May 30
4
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
Introduction
============
`SROA' is an early stage pass running at the very beginning of the
pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
shows SROA on function as one of the major culprits of Debug Info
loss.
With debugify-each partially done I tried testing this on the
amalgamated sqlite source.
The steps are as follows:
,----
| # generate
2018 May 30
2
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
>
> is in the business of deciding, but it does score it as a difference
> because it now, at no point, sees the expression "first" evaluate to a
> value of 5, or "total" to a value of 8 which it did previously. From the
> source-level debugging experience, the variables now just get updated
> between iterations.
>
Obviously should've been 7 for that
2011 Apr 20
5
Fibonacci
Hi!
I am trying to work out the code to get a Fibonacci sequence, using the
while() loop and only one variable. And I can't figure it out.
Fibonacci<-c(1,1)
while (max(Fibonacci)<500){
Fibonacci<-c(Fibonacci, (max(Fibonacci) + ?(Fibanacci)))
}
How can I tell R to take the value one before the max value? (Without
defining another variable)
(Probably super easy... I am a
2011 Aug 11
2
[LLVMdev] LLVM 2.9 64bits on Visual Studio 9
Hello everybody,
I have sucessfully compiled LLVM with CMAKE generator "Visual Studio 9 2008
Win64" (OS Windows 7).
-But when I run the Fibonacci example program in "release" mode, I get a
crash with this visual studio popup message :
Microsoft Visual Studio C Runtime Library has detected a fatal error in
Fibonacci.exe.
-Here is the visual studio output:
2011 Aug 15
0
[LLVMdev] LLVM 2.9 64bits on Visual Studio 9
FYI, I have confirmed it works on VS10SP1 with x64|Release.
E:\llvm\build\cmake-x64-vs10>bin\Release\Fibonacci.exe 24
verifying... OK
We just constructed this LLVM module:
---------
; ModuleID = 'test'
(snip)
---------
starting fibonacci(24) with JIT...
Result: 46368
...Takumi
2011/8/11 <gleizesd at gmail.com>:
> Hello everybody,
>
> I have sucessfully compiled LLVM
2007 Sep 05
2
[LLVMdev] Seeing a crash with ConstantFP::get
Hola LLVMers,
I'm getting a crash when using ConstantFP::get.
I can repro it by adding one line to the Fibonacci example program:
int main(int argc, char **argv) {
int n = argc > 1 ? atol(argv[1]) : 24;
// Create some module to put our function into it.
Module *M = new Module("test");
// We are about to create the "fib" function:
Function
2007 Sep 05
2
[LLVMdev] Seeing a crash with ConstantFP::get
It's in debug. I'm having a look at the assembler it's producing right
now and it's definitely a little odd for what should be a simple
assignment in zeroSignificand.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Dale Johannesen
Sent: Wednesday, September 05, 2007 2:39 PM
To: LLVM Developers Mailing
2007 Sep 05
0
[LLVMdev] Seeing a crash with ConstantFP::get
On Sep 5, 2007, at 2:21 PM, Chuck Rose III wrote:
> Hola LLVMers,
>
>
>
> I’m getting a crash when using ConstantFP::get.
>
>
>
> I can repro it by adding one line to the Fibonacci example program:
>
>
>
> int main(int argc, char **argv) {
>
> int n = argc > 1 ? atol(argv[1]) : 24;
>
>
>
> // Create some module to put our function
2004 Feb 03
3
Implementating streams in R
...2]]
function ()
expression
<environment: 01958774>
> accumulate.into.list(5,fibonacci.stream(0,1)) # construct a list with
the 5 first Fibonacci numbers
> accumulate.into.list(5,filter.odds(fibonacci.stream(0,1))) # construct
a list with the 5 first Fibonacci odd numbers
###
### Fibonaccy stream
###
fibonacci.stream<-function(fibonacci1,fibonacci2) {
cons.stream(fibonacci1+fibonacci2,
fibonacci.stream(fibonacci2, fibonacci1+fibonacci2))
}
filter.odds<-function(stream) {
if(is.even(head.stream(stream))) {
filter.odds(tail.st...
2007 Sep 06
0
[LLVMdev] Seeing a crash with ConstantFP::get
Hola Dale,
I spent some time walking through what's going on with a friend of mine
from VStudio. Category is given 2 bits in the APFloat class definition.
It's sign extending the enum value for the comparisons when it loads it
out of the class, so the 2 becomes a -2 and the comparison fails. He
sent me a piece of code which I might be able to use to force the issue.
I'll update
2018 Sep 21
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
my build environment:
Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)
x64 Native Tools Command Prompt for VS 2017
directory structure:
test
llvm <-- git clone https://github.com/llvm-mirror/llvm, git checkout
release_70
tools
clang <-- git clone https://github.com/llvm-mirror/clang, git
checkout
2016 Jun 10
2
MCJIT -- Poor run-time performance for Fibonacci example in LLVM 3.8.1
We have been using LLVM 3.4 and are currently migrating to LLVM 3.8.1. We have been using the Old JIT and since it has been removed since 3.6, we have to use MCJIT. I find that run-time performance is very poor in 3.8.1 for the Fibonacci example in llvm/examples/fibonacci.cpp. Logs below for fib34 and fib381 for input values of 30 and 40. I first thought it could be that MCJIT compile time is
2010 Nov 21
3
[LLVMdev] Running Examples
Hi guys,
I'm new on LLVM (and linux, and gcc and so on) and I'd like to know how to
run and test LLVM projects. I've downloaded, installed and tested LLVM
tools, such as llvm-gcc, llc, lli etc. But I don't know how to test examples
provided.
I just called "sudo make" inside "llvm/examples/fibonacci/", what generated
a directory named "Release"
2002 Apr 09
1
Fortran (77) in R
Hi,
I'm learning Fortran and trying to load a Fortran subroutine into R.
I've done:
R SHLIB Fibonacci.f
and it compiled fine.
Then I went into R and done:
> dyn.load("Fibonacci.so")
> Fib <- function(n) {
+ .Fortran("Fibonacci",
+ as.integer(n))[[1]]
+ }
> Fib(5)
Error in .Fortran("Fibonacci", as.integer(n)) :
2004 Nov 05
0
[LLVMdev] Re: LLVM Visual Studio Project files
Solved it. Looking at the source of bison, I found an undocumented
environment variable M4 that points to the m4 binary. Setting it to the
absolute path did the job. When not present, it ought to find it in the
path as it uses execvp. At least on Unix. I have no idea what it does
on Windows as I could not get the source used to build the Windows
version (the installer claimed it installed the
2018 Sep 22
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
first: thank you for helping out
>I might try compiling your source from the VS's Developer Command Prompt:
>cmake --build . --target Fibonacci
>Does this work?
call "C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
cd llvm-build
cmake --build . --config Debug --target Fibonacci
building Fibonacci example works BUT
2007 May 16
2
[LLVMdev] generating ELF shared object, C code, from a module like Fibionnaci
Hello
Apparently the file llvm/examples/Fibonacci/fibonacci.cpp generate JIT code
without explicitly doing any pass (but I suppose that internally, compiler
passes are running!) - is there a dissymetry between JIT machine code
generation in memory, and C or ELF shared object generation in files? I
thought that all these shared a lot of LLVM infrastructure and happen
similarily!
Also, the
2007 Sep 06
2
[LLVMdev] Seeing a crash with ConstantFP::get
On Sep 5, 2007, at 5:08 PM, Chuck Rose III wrote:
> Hola Dale,
>
>
>
> I spent some time walking through what’s going on with a friend of
> mine from VStudio. Category is given 2 bits in the APFloat class
> definition. It’s sign extending the enum value for the comparisons
> when it loads it out of the class, so the 2 becomes a -2 and the
> comparison fails.
2002 Oct 26
2
Fortran
Hello everybody,
Could someone please send me a very simple example using Fortran from
R? Say pass a value to an executable and get the result in R. Actually it
seems it may be possible to call an *.f file ?? or I am wrong again?
The manual is very terse on the subject.
Thank you very much
Stephen Elijah
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help