[Simh] More on using the latest (stored in git) release of SIMH

2012-04-27 Thread Gregg Levine
Hello! I (earlier today) attempted to install NetBSD-5 for the VAX into a disk as described here: http://www.netbsd.org/ports/vax/emulator-howto.html I created a install file using this as a template: load -r /usr/pkg/share/simh/ka655x.bin set cpu 64m set rq0 ra92 at

[Simh] clang (was Re: XCode and LTO)

2012-04-27 Thread Craig A. Berry
On Apr 18, 2012, at 11:36 AM, Mark Pizzolato - Info Comm wrote: On Tuesday, April 17, 2012, at 8:53 PM, Craig A. Berry wrote: Hmm. Putting GCC=clang in the environment gets a successful compile, though with lots of warnings. However, starting the simulator hangs after Eth: opened OS

Re: [Simh] clang (was Re: XCode and LTO)

2012-04-27 Thread Nelson H. F. Beebe
Declaring loopval as volatile (and perhaps global, rather than on-stack, to reduce chances of compiler disregarding volatile declaration) might do the trick. Yes, that should work if the compiler obeys volatile declarations. Otherwise, a store subterfuge will work too: (a) volatile

Re: [Simh] clang (was Re: XCode and LTO)

2012-04-27 Thread Sergey Oboguev
Splitting into separate files won't override optimization in LTO case since (tautologically) it is link-time. - Original Message From: Nelson H. F. Beebe be...@math.utah.edu To: Sergey Oboguev obog...@yahoo.com; simh@trailing-edge.com simh@trailing-edge.com Cc: be...@math.utah.edu

Re: [Simh] clang (was Re: XCode and LTO)

2012-04-27 Thread Mark Pizzolato - Info Comm
On Friday, April 27, 2012, at 1:15 PM, Craig A. Berry wrote: On Apr 27, 2012, at 2:52 PM, Mark Pizzolato - Info Comm wrote: On Friday, April 27, 2012, at 10:44 AM, Sergey Oboguev wrote: Declaring loopval as volatile (and perhaps global, rather than on-stack, to reduce chances of compiler

Re: [Simh] clang (was Re: XCode and LTO)

2012-04-27 Thread Peter Svensson
Hi, What is the rom code comparing against and why do we not do the delay compared to that? If it is against the real time clock, would not nanosleep() or just polling the time be more portable? Playing games with the C memory model to acheive a certain performace seems to me to always be