Displaying 20 results from an estimated 1000 matches similar to: "[RFC] Improve iteration of estimating divisions"
2019 Aug 08
2
回复: [RFC] Improve iteration of estimating divisions
Hal,
Yes, speed is an important factor of making dicision. Here I just put the numerator into estimation, so it won't add any more instructions. A simple benchmark below keeps the same running time between the demo and current master:
```
float fdiv(unsigned int a, unsigned int b) {
return (float)a / (float)b;
}
float m;
__attribute__((noinline)) void foo() {
m = 0.0;
}
int main() {
2019 Sep 27
2
Opportunity to split store of shuffled vector.
> I may be missing something obvious, but what is `vector` defined as here? Can you provide a buildable example?
Sorry, I should provide a cross-platform version using vector
extension of frontend :) `vector int` is a vector extension on
PowerPC, which is enabled if you set target to PowerPC platforms.
Example below should be successfully compiled in any platform:
typedef float v4sf
2019 Oct 04
2
Opportunity to split store of shuffled vector.
Canonicalizing to a masked store intrinsic is possible, but we might have
to expand back to the load/shuffle/store sequence for targets that don't
support masked store. And then you'd likely have to do the store splitting
that I think is being requested for the original pattern anyway.
But I'd like to step back to the premise - "LLVM seems to always generate
vector instructions
2019 Sep 26
2
Opportunity to split store of shuffled vector.
Hi there,
I notice that LLVM seems to always generate vector instructions for
vector operations in C, even it's just simple stores:
void foo(vector int* c) {
(*c)[0] = 1;
(*c)[1] = 2;
}
%0 = load <4 x i32>, <4 x i32>* %c, align 16
%vecins1 = shufflevector <4 x i32> <i32 1, i32 2, i32 undef, i32
undef>, <4 x i32> %0, <4 x i32> <i32 0, i32 1, i32 6,
2019 Oct 08
3
An internet Forum instead of mailing lists?
On Tue, Oct 8, 2019 at 2:13 PM Nicolai Hähnle via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
>
> I wonder if mailing list archives could (or perhaps already do) expose
> an API that would allow importing past history into an e-mail
> client-like viewer, or perhaps into an actual e-mail client.
>
I know that GNU mailing lists allow downloading MBOX files for their list
2019 Oct 17
3
[cfe-dev] How soon after the GitHub migration should committing with git-llvm become optional?
I'm also a strong proponent of not requiring the wrapper.
The linear history piece was important enough to make the cost worth
it. The extra branches piece really isn't. If someone creates a branch
that's not supposed to exist, we just delete it. No big deal. It will
happen, but the cost is so low I don't worry about it.
There's a bunch of things in our developer policy
2019 Oct 09
2
Cloning llvm-project fails
Hi,
cloning/checkout llvm-project on Windows fails for me with:
C:\Users\KaiNacke\vscode>git clone
git://github.com/llvm/llvm-project.git master
Cloning into 'master'...
remote: Enumerating objects: 2557, done.
remote: Counting objects: 100% (2557/2557), done.
remote: Compressing objects: 100% (102/102), done.
Receiving objects: 100% (3562454/3562454), 1.27 GiB | 6.92 MiB/s, done.
2017 Mar 06
2
combineRepeatedFPDivisors design questions
Hello,
Recently I have stumbled across an almost double performance decrease in one of my codebases when compiling with clang instead of gcc. I was testing with the currently latest 3.9.1 as well as 4.0.0 rc2 targeting x86-64 darwin with -Ofast, and after some investigation was able to narrow down the code to the following snippet:
__attribute__ ((noinline)) bool calculate(double c) {
uint32_t
2009 May 21
5
Authenticating with /etc/passwd
I am trying to do authentication with /etc/passwd and something is not working right for me. Pls help!
When i try to authenticate via pop3, I get: -ERR Authentication failed.
In the logs, I get:
May 21 11:14:07 Info: auth(default): client in: AUTH 1 PLAIN service=pop3 secured lip=127.0.0.1 rip=127.0.0.1 lport=110 rport=32774 resp=AGp1bmUAU0lORzNlcnQ=
May 21 11:14:07 Info: auth(default):
2007 Jan 18
5
how to get the index of entry with max value in an array?
Hi all:
A short question:
For example, a=[3,4,6,2,3], obviously the 3rd entry of the array has the maxium value, what I want is index of the maxium value: 3. is there a neat expression to get this index?
Thank you!
Best,
Feng
[[alternative HTML version deleted]]
2006 Jan 25
2
how to test robustness of correlation
Hi, there:
As you all know, correlation is not a very robust procedure. Sometimes
correlation could be driven by a few outliers. There are a few ways to
improve the robustness of correlation (pearson correlation), either by
outlier removal procedure, or resampling technique.
I am wondering if there is any R package or R code that have incorporated
outlier removal or resampling procedure in
2007 Nov 21
1
multiple comparison (glht) problem
I am not sure whether there is a bug. When I tested the example given for "glht"
in the help, I entered the following error:
Running commands:
amod <- aov(minutes ~ blanket, data = recovery)
rht <- glht(amod, linfct = mcp(blanket = "Dunnett"),
alternative = "less")
Errors are:
Error in try(coef.(model)) : could not find function
2005 Nov 17
8
Point pattern to grid
Dear all,
I'd like to change a point pattern to a grid of cells and use one of the variables as the output.
e.g. The point pattern is of a window of (500*500) and several features such as pH, SoilType etc. I like to divide it into a grid with cell size 5*5, and use the mean of the point values falling inside the cell as the output.
Is there any package in R working with this? Thanks in
2013 Jul 17
3
Re: [ovs-discuss] Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
On Wed, Jul 17, 2013 at 6:06 AM, Qiu Yu <unicell@gmail.com> wrote:
> After some digging in openvswitch code. My wild guess is that vlan tag
> reconfiguring triggered iface_configure_qos (vswitchd/bridge.c), which
> in turn called netdev_set_policing to reset ingress policing rate.
> Although there's no ingress_policing_rate set in my case, existing
> ingress qdisc still
2016 Jan 01
3
Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking
OS platform: FreeBSD 10.1-RELEASE-p25
Filesystem: ZFS
Samba version: upgraded from 4.1.17 to 4.1.22
Problem:
I have been using the shadow_copy2 and zfsacl VFS modules to enable
access control and the Previous Versions feature for Windows clients.
With /usr/local/etc/smb4.conf configured this way (excerpt):
vfs objects = shadow_copy2 zfsacl
shadow:snapdir = .zfs/snapshot
2014 Oct 27
2
What is the difference between running "virt-manager" and "sudo virt-manager"?
Hi all,
What is the difference between starting virt-manager by "virt-manager" and by "sudo virt-manager"? It seems that there are two copy of virt-manager running in the background.
When I run "virt-manager", I got a error of "Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: - The 'libvirtd'
2006 Jun 12
5
use AT320 international call
Hi all,
The firmware I used is pa168s_iax2_us_151011.bin.
My problem is the handset dial before I finished key in all
the numbers, no matter how fast I managed to press the keys.
It appeared it always dialed immediately, for example "011862",
when I actually ment to dial 0118620xxxxxxxx. Thus left the
remaining numbers "0xxxxxxxx" unsent.
The handset had its dial plan
2006 Dec 04
2
ask for help
Dear Sir
I would appreciate recieving the manul instruction of the program foe geochemical calculations.please what are the requirmentsof using the program
Thanks
Tanat university faculty of science , geology department ,tanta Egypt
Prof.Mohamed Fouad Ghoneim
Ph.D- D.Sc.
Head of Geology Department
Faculty of Science
Tanta University, Egypt
www.profghoneim.tk
2013 May 30
2
How to use libguestfs access LVM as non-root user?
Hi,
Following code snippet, running as non-root user, will throw up a
'Permission denied' RuntimeError.
Could someone kindly guide me the correct way to handle LVM disk as
non-root user? Cause as http://libguestfs.org homepage claims, "libguestfs
doesn't need root permissions." A little confused somehow.
import guestfs
g = guestfs.GuestFS()
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
With outbound QoS setting in Libvirt XML, libvirt will add a tc
ingress qdisc for traffic shaping. Then if you set VLAN tag to that
tap device, this qdisc will automatically gone by no reason.
Could anyone shed some lights where should I look into? I'm really
confused and got no clue here. Thanks!
Steps to reproduce
--
# virsh start instance-name
# virsh dumpxml instance-name
...