search for: blackbox

Displaying 20 results from an estimated 146 matches for "blackbox".

2015 Nov 11
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...a definition that the compiler will never find. > Now, can we handle that? > Sure. > > For example, i can move external function calls if i can prove things > about their dependencies, and the above list is not sufficient to prevent > me from moving (or PRE'ing) most of the blackbox calls that just take > normal non-pointer args. > Is that going to be okay? > > (Imagine, for example, LTO modes where i can guarantee i have the entire > program, etc. > You still want blackbox to be magically special in these modes, even > though nothing else is). > Sure,...
2015 Nov 11
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...m> wrote: > >> One thing that volatile doesn't do is escape results that have been >> written to memory. >> >> > Honestly, i'd probably rather see attributes or something than this > intrinsic. > > That said .... > > > >> The proposed blackbox intrinsic is modeled as reading and writing any >> pointed to memory, which is useful. >> >> > The proposed intrinsic does not have a really well defined exact set of > semantics. > If it did, and those semantics made sense, i think you'd see a lot less > pushback....
2001 Sep 24
4
part of files in another file after crash
...because of strange reasons my notebook sometimes crashes short after startup (but that's not ext3's fault, maybe mem?, when i wait several minutes it works without problems) the problem is that after 3 crashes at startup, when my notebook finally worked i got the msg: Sep 23 23:29:17 blackbox kernel: EXT3-fs warning (device ide0(3,3)): ext3_clear_journal_err: detected journal error -5 from previous mount Sep 23 23:29:17 blackbox kernel: EXT3-fs: ide0(3,3): orphan cleanup on readonly fs Sep 23 23:29:17 blackbox kernel: ext3_orphan_cleanup: deleting unreferenced inode 97540 Sep 23 23:2...
2020 Nov 01
0
4.13.1 make test failed
Hello I try today to install samba 4.13.1 ? ./configure run without error Make run without error Make Check Failed Debian 10.6 Also all required Packages are installed -- # cat summary = Failed tests = == samba4.blackbox.demote-saveddb == command: PYTHON=python3 /usr/src/samba-4.13.1/testprogs/blackbox/demote-saveddb.sh $PREFIX_ABS/demote --configfile=$SMB_CONF_PATH 2>&1 | python3 /usr/src/samba-4.13.1/selftest/filter-subunit --fail-on-empty --prefix="samba4.blackbox.demote-saveddb." --suffix=&qu...
2015 Nov 11
5
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...you could practically deploy a super-duper LTO mode >> that doesn't allow that as part of its model. >> >> > Sure. > > >> The following CFG simplification would be legal, as it also fits the >> normal model of an external call: >> if (cond) y =llvm.blackbox(x) >> else y = llvm.blackbox(x) >> --> >> y = llvm.blackbox(x) >> >> I don't see how this is special. It just provides an overloaded >> intrinsic whose definition we promise to never reason about. Other than >> that it follows the same familiar rules...
2015 Nov 10
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
One thing that volatile doesn't do is escape results that have been written to memory. The proposed blackbox intrinsic is modeled as reading and writing any pointed to memory, which is useful. I also think blackbox will be a lot easier for people to use than empty volatile inline asm and volatile loads and stores. That alone seems worth something. :) On Mon, Nov 9, 2015 at 6:04 PM, Daniel Berlin via llv...
2007 Mar 19
1
Trying to get a cdwriter to write to loop device
I'm trying to use a shareware program called PowerISO to extract a .daa cd image to a raw iso9660 format so that I can view the contents. PowerISO runs like this: ________________ [nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine cdburn.exe Password: Usage: cdburn <drive> -erase [image [options]] cdburn <drive> image [options] Options: -erase Erases the disk before burning (valid for R/W only) -sao Wri...
2015 Nov 02
8
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...ore i32 2, i32* %dummy.i, align 4 call void asm "", "r,~{dirflag},~{fpsr},~{flags}"(i32* %dummy.i) #1, !srcloc !0 %3 = load i32, i32* %dummy.i, align 4 call void @llvm.lifetime.end(i64 4, i8* %2) #1 ```` This could be better. # Solution Add a new intrinsic, called `llvm.blackbox`, which accepts a value of any type and returns a value of the same type. As with many other intrinsics, this intrinsic shall remain unknown to all optimizations, before and during codegen. Specifically, this intrinsic should prevent all optimizations which operate by assuming properties of the val...
2005 Mar 31
0
blackbox win32
Have anybody managed to get blackbox running on wine ? I have an old installation and no internet on my home computer and just wanted to check if it would run, it really makes windows look nice :-) .. so I figured I'd give it a spin and check if it would be able to round up some wine bugs. However the installation failed, so I...
2003 Jul 07
1
embedding characters
i seem to be having trouble with certain characters in machine names and passwords. specifically, there is a hyphen in on of the server's names. this entry in the fstab file fails to connect with the following error: # mount /root/it-blackbox/c\$/ Password: Anonymous login successful 18867: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed the line from fstab is: //it-blackbox/c$ /root/it-blackbox/c$ smbfs noauto,credentials=/root/.smbauth 0 0 the .smbauth file contents are: username = administrator w...
2019 Apr 06
2
selftest, help with a single test
In the hope for some help, I would like some hint on how to diagnose the following single subunit: samba3.blackbox.smbclient_machine_auth.plain In particular the single test samba3.blackbox.smbclient_machine_auth.plain (s4member:local)(s4member:local) Results attached, run is from git at 'origin/v4-10-stable' Thanks in advance (This is because in my full selftest almost all failures are from this...
2015 Jan 22
5
[LLVMdev] Why does "uwtable" prevent optimizing Invoke -> Call?
Hi, in r176827 the optimization that turns invokes with empty landing pads into plain calls was disabled for invocations of function with the "uwtable" attribute. But given this code: struct S { ~S() {}; }; void blackbox(); __attribute__((__noinline__)) void inner() { blackbox(); } int foo() { S s; inner(); return 0; } int bar() { inner(); return 0; } clang directly emits a call instruction in "bar", because there is nothing to be cleaned up....
2015 Nov 03
3
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...ointers.com> wrote: > Why does this need to be an intrinsic (as opposed to generic "unknown > function" to llvm)? > > Secondly, have you looked into a volatile store / load to an alloca? That > should work with PNaCl and WebAssembly. > > E.g. > > define i32 @blackbox(i32 %arg) { > entry: > %p = alloca i32 > store volatile i32 10, i32* %p ;; or store %arg > %v = load volatile i32, i32* %p > ret i32 %v > } That volatility would have a negative performance impact. Richard Diamond -------------- next part -------------- An HTML attach...
2010 Jul 28
2
Out-of-sample predictions with boosting model
...countries. To give you a flavor of what I am doing, here is a simple example to show how I make in-sample predictions: # data has following columns: country year month y x1 x2 x3 dat = read.csv(data.csv) # Create function that estimates model, produces in-sample predictions bbox = function(df) { blackbox = mboost(y ~ x1 + x2 + x3) predict(blackbox) } # Use lapply to estimate by country bycountry = lapply(split(dat, dat$country), bbox) So that in the end I have an object bycountry that contains the in-sample predictions of the model, estimated for each country separately. What I would like to do...
2007 Jun 19
1
BlackBox testing
I am porting SWX (swxformat.org) to Ruby. It''s a data exchange format that assembles data structures into native SWF bytecode. Here''s my dilemma: The original SWX implementation (PHP) tests a lot of methods that wouldn''t be included in the public API (if PHP properly supported encapsulation that is). The PHP implementation really only includes a single public
2019 Apr 01
5
selftest
Thanks for the reply, Besides the problem with source4/lib/messaging/messaging_handlers.c, Good to hear that selftest is actively used, then do I understand it right that 'make test' should succeed? My bigger problem is that it failed with lots of errors. This must be a problem with my build, then, but since this is a fresh tarball I am a bit puzzled. I would appreciate some hint on
2015 Nov 10
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Fri, 06 Nov 2015 09:27:32 -0800, Daniel Berlin via llvm-dev wrote: <snip> > > Great! > > You should then test that this happens, and additionally write a test > that can't be optimized away, since the above is apparently not a useful > microbenchmark for anything but the compiler ;-) > > Seriously though, there are basically three cases (with a bit of >
2015 Nov 06
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Tue, Nov 3, 2015 at 2:50 PM, Diego Novillo <dnovillo at google.com> wrote: > I don't see how this is any different from volatile markers on > loads/stores or memory barriers or several other optimizer blocking > devices. They generally end up crippling the optimizers without much added > benefit. > Volatile must touch memory (right?). Memory is slow. > Would it
2015 Nov 17
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
...the benchmark from performing its purpose, it is hard to believe that any conclusions coming from such a benchmark would be applicable to real code". The only exceptions I can think about are extremely low-level asm measurements (which are written in asm anyway so this whole discussion of llvm.blackbox is irrelevant). -- Sean Silva > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/ > -------------- next part -------------- An HTML attachment was sc...
2015 Nov 17
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Mon, Nov 16, 2015 at 6:59 PM, Dmitri Gribenko via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Mon, Nov 16, 2015 at 10:03 AM, James Molloy via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > You don't appear to have addressed my suggestion to not require a perfect > > external world, instead to measure the overhead of an imperfect world (by > >