similar to: About trigonometric Instructions

Displaying 20 results from an estimated 1000 matches similar to: "About trigonometric Instructions"

2011 Dec 15
10
fsincos emulation on AMD CPUs
All, in the light of erratum #573 I''m wondering if we need to tweak or conditionally suppress fsincos emulation. The question is whether there is any possibility for getting the emulator to hit this instruction on AMD (as no real mode emulation ought to be taking place there), i.e. whether there are places where emulation gets continued eagerly in anticipation of the need for emulation
2005 Apr 29
1
[LLVMdev] Floating point instructions patch
Chris Lattner wrote: > The patches I didn't apply are these: > > 1. Match (Y < 0) ? -Y : Y -> FABS in the SelectionDAGISel.cpp file. We > already catch this at the DAG level. If we aren't, please let me know. OK, no problem - I was just told last time I tried to get my patch in that this was needed because the C++ frontend generated this code, I'm generating
2005 Apr 28
3
[LLVMdev] Floating point instructions patch
Hello, I have been gone for a while, finishing work on my Master's thesis... Now that I'm back I updated LLVM to the most recent version and found that my FP_ABS SelectionDAGNode type and code generation was now conflicting with the new FABS node type. I brought the rest of my local modifications in line with the FABS implementation, so here is my patch that includes sqrt, sin and cos
2005 Apr 28
0
[LLVMdev] Floating point instructions patch
On Thu, 28 Apr 2005, Morten Ofstad wrote: > I have been gone for a while, finishing work on my Master's thesis... Hi Morten, congrats! :) > Now that I'm back I updated LLVM to the most recent version and found > that my FP_ABS SelectionDAGNode type and code generation was now > conflicting with the new FABS node type. I brought the rest of my local > modifications in
2012 Feb 08
6
[LLVMdev] Clarifying FMA-related TargetOptions
Hello everyone, I'd like to propose the attached patch to form FMA intrinsics aggressively, but in order to do so I need some clarification on the intended semantics for the various FP precision-related TargetOptions. I've summarized the three relevant ones below: UnsafeFPMath - Defaults to off, enables "less precise" results than permitted by IEEE754. Comments specifically
2010 Jun 17
3
trigonometric regression
Suppose I do a trigonometric regression fit<-lm(y~ cf + sf) where cf and sf are the cos and sine components. b<-coef(fit) I have the fitted sine component b[2] and the cos component b[3]. Doing summary(fit) gives me the p-values and SEs for b[2] and b[3]. But I want the amplitude of the fitted waveform amp<-sqrt(b[2]^2+b[3]^2) Can someone please tell me how to get the p-value for amp?
2005 Jan 04
2
[LLVMdev] Math instructions
Hello, I'm currently adding the floating point math instructions (fabs, fsin, fcos ...) to the x86 instruction set. I'm a bit unsure how to make the back end actually generate these instructions, though. My current plan is to add llvm intrinsics for these instructions but I've noticed that llvm already handles C math library functions to some extent. It feels a bit strange to add
2005 Apr 29
1
[LLVMdev] Floating point instructions patch
New patch here -- it's not been tested yet because we're having some problems with the application (I can't create new VM programs at the moment), but it compiles OK ;-) Please look over it and see if there are some more changes you'd like me to make before you can commit it... m. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed...
2012 Feb 08
0
[LLVMdev] Clarifying FMA-related TargetOptions
Hi Owen, Having looked into this due to Clang failing PlumHall with it recently I can give an opinion... I think !NoExcessFPPrecision covers FMA completely. There are indeed some algorithms which give incorrect results when FMA is enabled, examples being those that do floating point comparisons such as: a * b + c - d. If c == d, it is still possible for that result not to equal a*b, as "+c
2009 May 20
2
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
Per subject, this patch adding an additional pass to handle vector operations; the idea is that this allows removing the code from LegalizeDAG that handles illegal types, which should be a significant simplification. There are still some issues with this patch, but does the approach look sane? -Eli -------------- next part -------------- Index: lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
2016 Sep 28
5
ERROR:Segmentation fault
Hi Developer, In my processor I am not using registers so I wrote Simple register.td file with bare minimum functions. But when I am registering my target with llvm it is showing "*Segmentation Fault(core dumped)*" Error and also same error while generating table-gen for asm-writer. Some one told comment out EditRegesterName function. because this error is due to EditRegisterName it
2006 Jan 28
4
Unspecified error in prototype.js
Hi, 1. I have 2 panes, each having approximately 45-50 slides, all the slide images are 110x82 pixels in size, enclosed in their respective div''s. 2. These divs are further enclosed in a parent div, which is defined as a Sortable on page load. 3. There is a destination div on the RHS also. Sortable.create("div_leftDiv", {ghosting:true, revert: true, dropOnEmpty:true,
2016 Nov 23
3
Generation of IR for MyTarget
Hi Developers, I have written C program and want to generate IR file for Specific Target I have tried with following command but got a error as follows, COMMAND: *clang -S -emit-llvm -march=leg ~/llc-test-examples/ex9.c -o ~/llc-test-examples/ex9.ll* ERROR: *error: unknown target CPU 'leg'* So any please help me what all other step should I do previously to get my *leg* target in clang.
2006 Dec 05
8
centos 4.4 + asterisk
Hello, Are there any issues with Centos 4.4 and asterisk. Thanks in advance Varun
2006 Feb 01
2
IE memory fix leak.
By default the prototype.js gives us the function /* prevent memory leaks in IE */ Event.observe(window, ''unload'', Event.unloadCache, false); But there is no unload event in out application as the content of the div keeps changing using the Ajax.Updater function. To handle such a scenario, we''ve added the following lines of code to prototype.js /* prevent
2018 Jan 02
1
https://reviews.llvm.org/D41659 Needs review.
https://reviews.llvm.org/D41659 Implemented missing trigonometric optimization in llvm. Here we have implemented the following missing trigonometric optimizations. 1. tan(x)*cos(x)=sin(x) 2. sin(x)*cos(x) = sin(2*x)/2 3. sin(x)/tan(x)=cos(x); 4. tan(x)/sin(x)=1/cos(x); -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Oct 12
2
[LLVMdev] Building for a specific target, corei7
Hi Andrew, I think I diluted my question. My question was not related to MCJIT. I ran the following 4 scenarios: (1)gcc -mcpu=corei7 tetris.c -o tetris (2)gcc -mcpu=athlon64 tetris.c -o tetris (3)clang -march=corei7 tetris.c -o tetris (4)clang -march=athlon64 tetris.c -o tetris In (1) and (2), I see difference in order of instructions in the output binaries, which I expected because every CPU
2016 Sep 23
2
Runtime error
Hi Developer, I have wrote simple program called test.c as follows. *int a, b;int main() {a=10;b=10;return a+b;}* Compiled with clang command to produce test.ll file which is attached below, *$clang -cc1 test.c -emit-llvm* Now If I want to run with my own target for selection with *llc* with command as follow getting error, *COMMAND:$ ./llc -view-dag-combine1-dags -march=toy
2006 Jun 14
4
100 lines PBX + system config - repost
Hello, We are planning to biuld a 100 lines PBX based on asterisk. How do you decide on the system config, e.i motherboard, cpu , how much ram , etc ? We will have all 100 phone plugged in. But we expect about 20 calls at any given moment. Thanks Varun
2005 Jul 12
3
using its to import time series data with uneven dates
Good day: I am trying to use readcsvIts("nwr_data_qc.txt",informat=its.format("%Y%m%d%h%M %Y"),header=TRUE,sep="",skip=0,row.names=NULL,as.is=TRUE,dec=".") to read in a file (nwr_data_qc.txt) that looks like this: Time Y M D H Min CO2 2000.18790 2000. 3. 9. 18. 30. 373.60 2000.20156 2000. 3. 14. 18. 30. 373.34