search for: ule

Displaying 20 results from an estimated 80 matches for "ule".

Did you mean: le
2008 Nov 11
4
[LLVMdev] Invalid comparison instruction generation
Eli, Using the variables from the original IR, assuming tmp == tmp1 and assume the value is not nan ogt(tmp, tmp1) is !isnan(tmp) && !isnan(tmp1) && tmp > tmp1, or false ule(tmp, tmp1) is isnan(tmp) || isnan(tmp1) || tmp <= tmp1, or true So, this is invalid, or am I misunderstanding what ogt and ule stand for? Assuming this is valid, why convert comparison instructions instead of just passing them through as they originally exist? The backend I am targeting does n...
2008 Nov 11
0
[LLVMdev] Invalid comparison instruction generation
...Mon, Nov 10, 2008 at 5:00 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote: > Eli, > Using the variables from the original IR, > assuming tmp == tmp1 and assume the value is not nan > ogt(tmp, tmp1) is !isnan(tmp) && !isnan(tmp1) && tmp > tmp1, or false > ule(tmp, tmp1) is isnan(tmp) || isnan(tmp1) || tmp <= tmp1, or true Correct; in fact, ogt and ule are exact opposites. > So, this is invalid, or am I misunderstanding what ogt and ule stand > for? What you're missing is the xor in the pre-combine graph; I assume it got added during bran...
2012 May 24
3
[LLVMdev] make check-lit + grep escape characters
...skiy wrote: > >> Hi all. I found that if you want to use grep with escape characters in >> lit, you should pass it within the double slash (\\). Since the first >> one is captured by python scripts and the second one by grep. >> E.g. if you want to capture "grep icmp ule" you should pass >> "grep icmp\\ ule" >> >> So I'm going to commit the test with strings like this. How stable this >> feature in lit? > > Why are you using grep and not FileCheck? > > -eric
2012 May 24
2
[LLVMdev] make check-lit + grep escape characters
Hi all. I found that if you want to use grep with escape characters in lit, you should pass it within the double slash (\\). Since the first one is captured by python scripts and the second one by grep. E.g. if you want to capture "grep icmp ule" you should pass "grep icmp\\ ule" So I'm going to commit the test with strings like this. How stable this feature in lit? -Stepan.
2008 Nov 11
0
[LLVMdev] Invalid comparison instruction generation
...illmow, Micah <Micah.Villmow at amd.com> wrote: > With the above kernel run through llc with -march=x86 > -view-dag-combine1-dags I still see the ogt as the comparison operation, but > when I run it with llc -march=x86 -view-legalize-dags the ogt node has been > transformed into a ule. Okay... I can see that in the attached graph. > So, my question is, how do I get llvm to stop doing invalid translation of > comparison instructions? This problem affects my custom backend and I have > reproduced it with the x86 backend. It seems valid to me... what makes you think it&...
2008 Nov 10
2
[LLVMdev] Invalid comparison instruction generation
...ifend: ; preds = %ifthen, %entry ret void } With the above kernel run through llc with -march=x86 -view-dag-combine1-dags I still see the ogt as the comparison operation, but when I run it with llc -march=x86 -view-legalize-dags the ogt node has been transformed into a ule. So, my question is, how do I get llvm to stop doing invalid translation of comparison instructions? This problem affects my custom backend and I have reproduced it with the x86 backend. Micah Villmow Systems Engineer Advanced Technology & Performance Advanced Micro Devices Inc....
2007 Oct 17
4
RELENG_7 jerky mouse and skipping sound
I just updated to RELENG_7 from 6.2 and I'm running into some really annoying issues with jerky mouse movement and skipping sound. This seems to be similar to: Re: SCHED_4BSD in RELENG_7 disturbs workflow This happens both with 4BSD and ULE. I seems to happen when I'm compiling ports and a new cc/bzip2/sh process fires off (I'm just watching top), I'll get the skip/freezeup. This behavior is pretty pronounced, as I'm installing gutenprint right now. bigguy# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S...
2011 Dec 01
3
[LLVMdev] anchoring explicit template instantiations
...ble(0); + llvm_unreachable("Bad ValueMask flag!"); } and --- a/lib/Support/APInt.cpp +++ b/lib/Support/APInt.cpp @@ -1440,16 +1440,14 @@ APInt APInt::sqrt() const { APInt nextSquare((x_old + 1) * (x_old +1)); if (this->ult(square)) return x_old; - else if (this->ule(nextSquare)) { + if (this->ule(nextSquare)) { APInt midpoint((nextSquare - square).udiv(two)); APInt offset(*this - square); if (offset.ult(midpoint)) return x_old; - else - return x_old + 1; - } else - llvm_unreachable("Error in APInt::sqrt computation&qu...
2009 Feb 22
2
The machdep.hyperthreading_allowed & ULE weirdness in 7.1
Hi Jeff, I have a single-CPU system with P4 HTT-enabled processor (7.1-RELEASE-p3), kernel compiled with SCHED_ULE. Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE-p3 #0: Fri Feb 20 09:53...
2011 Dec 01
0
[LLVMdev] anchoring explicit template instantiations
...g!"); This patch would lose the expected flag value, which is unfortunate. > +++ b/lib/Support/APInt.cpp > @@ -1440,16 +1440,14 @@ APInt APInt::sqrt() const { > APInt nextSquare((x_old + 1) * (x_old +1)); > if (this->ult(square)) > return x_old; > + if (this->ule(nextSquare)) { > APInt midpoint((nextSquare - square).udiv(two)); > APInt offset(*this - square); > if (offset.ult(midpoint)) > return x_old; > + } > + llvm_unreachable("Error in APInt::sqrt computation"); > } > > (a return after an llvm_unr...
2012 May 24
0
[LLVMdev] make check-lit + grep escape characters
...AM, Stepan Dyatkovskiy wrote: > Hi all. I found that if you want to use grep with escape characters in > lit, you should pass it within the double slash (\\). Since the first > one is captured by python scripts and the second one by grep. > E.g. if you want to capture "grep icmp ule" you should pass > "grep icmp\\ ule" > > So I'm going to commit the test with strings like this. How stable this > feature in lit? Why are you using grep and not FileCheck? -eric
2012 May 24
0
[LLVMdev] make check-lit + grep escape characters
...; >> Hi all. I found that if you want to use grep with escape characters in > >> lit, you should pass it within the double slash (\\). Since the first > >> one is captured by python scripts and the second one by grep. > >> E.g. if you want to capture "grep icmp ule" you should pass > >> "grep icmp\\ ule" > >> > >> So I'm going to commit the test with strings like this. How stable this > >> feature in lit? > > > > Why are you using grep and not FileCheck? > > > > -eric > > ___...
2010 Jul 20
2
make fails with samba-3.5.4 Solaris 9
Hi, I am having a problem getting a Makefile after I run configure as follows: ./configure --prefix=/opt/samba-3.5.4 --with-ads --with-krb5=/opt/samba-3.5.4/include/ --with-shared-mod ules=idmap_rid --with-ldap=/opt/samba-3.5.4/include/ldap.h There is no Makefile generated. Configure runs successfully. The error I get is: # /usr/local/bin/make make: *** No targets specified and no makefile found. Stop. Leslie D. Haynes Email: leslie.d.haynes at lmco.com
2015 Mar 26
4
[LLVMdev] `llvm.$op.with.overflow`, InstCombine and ScalarEvolution
...bine -indvars` does not. ``` declare void @side_effect(i1) define void @foo(i8 %x, i8 %y) { entry: %sum = add i8 %x, %y %e = icmp ugt i8 %x, %sum br i1 %e, label %exit, label %loop loop: %idx = phi i8 [ %x, %entry ], [ %idx.inc, %loop ] %idx.inc = add i8 %idx, 1 %to.optimize = icmp ule i8 %idx, %sum call void @side_effect(i1 %to.optimize) %c = icmp ule i8 %idx.inc, %sum br i1 %c, label %loop, label %exit exit: ret void } ``` This happens because `-instcombine` does the following tranform: ``` entry: %uadd = call { i8, i1 } @llvm.uadd.with.overflow.i8(i8 %x, i8 %y)...
2013 Jul 05
0
[LLVMdev] Enabling vectorization with LLVM 3.3 for a DSL emitting LLVM IR
On 07/04/2013 01:39 PM, Stéphane Letz wrote: > Hi, > > Our DSL can generate C or directly generate LLVM IR. With LLVM 3.3, we can vectorize the C produced code using clang with -O3, or clang with -O1 then opt -O3 -vectorize-loops. But the same program generating LLVM IR version cannot be vectorized with opt -O3 -vectorize-loops. So our guess is that our generated LLVM IR lacks some
2013 Jul 04
3
[LLVMdev] Enabling vectorization with LLVM 3.3 for a DSL emitting LLVM IR
Hi, Our DSL can generate C or directly generate LLVM IR. With LLVM 3.3, we can vectorize the C produced code using clang with -O3, or clang with -O1 then opt -O3 -vectorize-loops. But the same program generating LLVM IR version cannot be vectorized with opt -O3 -vectorize-loops. So our guess is that our generated LLVM IR lacks some informations that are needed by the vectorization passes to
2008 Jan 30
3
newfs locks entire machine for 20seconds
----- Original Message ----- From: "Ivan Voras" <ivoras@freebsd.org> >> The machine is running with ULE on 7.0 as mention using an Areca 1220 >> controller over 8 disks in RAID 6 + Hotspare. > > I'd suggest you first try to reproduce the stall without ULE, while > keeping all other parameters exactly the same. Ok tried with an updated 7 world / kernel as of this afternoon and wit...
2008 May 12
4
7.0 issues fixed? upgrade timing?
...work card and am using a cable modem router. Does anyone know if fixes for problems with these (see below) have been backported from HEAD to RELENG_7? 2. Is this a good time to upgrade to RELENG_7? 3. I read a post last week that advised that 7.1 is a long way off. Appreciate any advice on use of ULE 3.0 and ZFS prior to 7.1 and a comment on what is holding up 7.1. Thanks >From FreeBSD 7.0 errata notes: [20080229] Instances of packet corruption and instability have been observed with the re(4) network driver. Some users have reported that using a newer version of this driver (on HEAD) h...
2011 Dec 01
2
[LLVMdev] anchoring explicit template instantiations
...omewhere in the implementation details of llvm::Option)) >> +++ b/lib/Support/APInt.cpp >> @@ -1440,16 +1440,14 @@ APInt APInt::sqrt() const { >>   APInt nextSquare((x_old + 1) * (x_old +1)); >>   if (this->ult(square)) >>     return x_old; >> +  if (this->ule(nextSquare)) { >>     APInt midpoint((nextSquare - square).udiv(two)); >>     APInt offset(*this - square); >>     if (offset.ult(midpoint)) >>       return x_old; >> +  } >> +  llvm_unreachable("Error in APInt::sqrt computation"); >> } >> &...
2006 Apr 01
1
6.1 responsiveness under heavy (cpu?) load + thread monitoring
Hello, I have a RELENG_6/AMD64 with an AMD64X2 cpu, 1GB of memory, 512MB swap. I remarked that when I run 2 simulation program [1], sometimes, one of them run one or several of its threads [2] very slowly, but sometimes, it doesn't occur. I remarked that is doesn't depend on SMP/UP, ULE/4BSD, i386/AMD64. It seems to occur also with the kernel stress test under the same conditions (all of them). In this case, the mouse is blocked, etc. I tested different kernels, and recorded the output of sysctl vm [3]. I increased vm.swap_async_max but this doesn't change the deal /a priori...