head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.122 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.120 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.118 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.116 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.114 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.112 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.110 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.108 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.106 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.104 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.102 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.100 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.98 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.96 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.94 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.92 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.90 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.88 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.86 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.84 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.82 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.80 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.78 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.74 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.54 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.76 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.72 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.70 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.68 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.66 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.64 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.62 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.60 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.58 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.56 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.52 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.50 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.48 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.46 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.44 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.42 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.40 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.38 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.36 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.34 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.32 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.30 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.28 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.26 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.24 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.22 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.20 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.18 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.16 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.14 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.12 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.10 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.8 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.6 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.4 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.2 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.6.0.16 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.14 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.12 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.10 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.8 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.6 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.4 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.2 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.5.0.26 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.24 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.22 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.20 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.18 pkgsrc-2008Q1:1.5.0.16 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.14 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.12 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.10 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.8 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.6 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.4 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.4.0.6 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.4 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.3.0.22 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.7 date 2011.02.05.13.38.15; author ryoon; state Exp; branches; next 1.6; 1.6 date 2009.03.22.19.55.42; author markd; state Exp; branches; next 1.5; 1.5 date 2006.04.24.22.22.55; author markd; state Exp; branches; next 1.4; 1.4 date 2005.07.17.21.38.45; author kristerw; state Exp; branches; next 1.3; 1.3 date 99.07.17.19.24.50; author deberg; state Exp; branches; next 1.2; 1.2 date 98.08.07.10.40.35; author agc; state Exp; branches; next 1.1; 1.1 date 98.05.26.21.19.19; author tron; state Exp; branches; next ; desc @@ 1.7 log @Update to 8.0. fix PR pkg/44465 Changelog: 2010-01-08 * Version 8.0 released 2010-01-05 * xspim/Imakefile, spim/Makefile Jaymie Strecker [JStrecker@@wooster.edu]: Change install path from /usr to /usr/local. Removed -D option, which doesn't exists on MacOS. * pervasive: Change license to a BSD license, update copyright notices, and eliminated references to my old email address. 2009-12-05 * CPU/spim-utils.c (initialize_run_stack) [÷ýŽ´ö´ÊîÜ® bupjae@@hotmail.com]: Simplify alignment of data on stack to ensure enough room is left for environment and args at top of stack. * PCSpim/PCSpimView.cpp: Initialize stack with arguments when running program from run dialog. * spim/spim.c (read_input) [Adam Wolfe Gordon adam.wolfegordon@@gmail.com}: read_input filled buffer with last character of file not terminated by newline. * Documentation/spim.html [Dave Comer dmcomer@@dmcmicro.com]: Links to MIPS documentation were broken. 2009-09-22 * spim/spim.c (main) [Ohad Kammar ohad.kammar@@ed.ac.uk]: Did not return value from exit syscall. 2009-03-01 James larus * xspim/buttons.c [Karl Ljungkvist k.ljungkvist@@gmail.com]: Step command reinitialized the stack, which changed registers (argc, argv). 2009-03-01 * Documentation/spim.html: Updated web page to remove reference to spim source in PCSpim source distribution. * PCSpim/PCSpimView.{cpp, h}, SettingsDlg.cpp, BreakpointDlg.cpp, MainFrm.{cpp, h}: Force redisplay of data segment in situations in which register values may have changed, such as $sp. Some cleanup as well. * PCSpim/PCSpimView.cpp: Properly initialize the PC at the first invocation of the step operation. * PCSpim/PCSpimView.cpp, spim/spim.c [Pierce, Bill [pierce@@hood.edu]: Initialize the stack when initializing the world, so the stack is initialized when single stepping as well as running. 2009-02-13 * CPU/mem.c (bad_mem_write) [phong le phongle@@nlsim.com]: Major memory leak: instructions overwritten by self-modifying code were not freed! * spim/Configure, xspim/Configure [Carlos Pantelides carlos_pantelides@@yahoo.com]: Added test for 64 bit Linux systems. 2009-01-22 * spim/Makefile: Fix install commands so exceptions.s is installed at /usr/lib/spim. Rerelease of spim.tar.* 2009-01-14 * pcspim.zip: Rerelease of pcspim to correct installer problem. Visual Studio 9.0 required new crt and mfc libraries. 2009-01-01 * Released version 7.4 2009-01-01 James larus * xspim/Imakefile, spim/Makefile: Fix install directories for Linux. 2008-11-29 * xspim/buttons.c [karl.marklund@@gmail.com]: Command line arguments for assembly code not properly set. 2008-11-28 * PCSpim/PCSpimView.{cpp,h}: Command line arguments not set properly on second and subsequent runs. 2008-11-01 * Version 7.4 * Tests/tt.core.s (madd_) Miguel BarŽÃŽ£o [mjsb@@di.uevora.pt]: Added test for madd(2, -1) with (hi, lo) = (0, -1). 2008-05-18 * CPU/scanner.l [liblit@@cs.wisc.edu]: Fix for flex 2.5.33 was too specific for that version and failed on later versions, which propagated the change recoganized by fix of2005-02-05. 2007-05-20 * CPU/run.c (run_spim): Fixed handling of borrow from subtract of low-order word in MSUB and MSUBU 2007-05-03 * CPU/run.c Tim ODonnell [timodonnell@@gmail.com]: Fixed handling of overflow from add of low-order word in MADD and MADDU. 2007-04-15 * Documentation/spim.html: Updated MIPS documenation links to reflect new file versions. Included link to Nokia 660 port. 2007-01-14 * CPU/inst.c (inst_decode) Cai Hongxu [caihongxu@@gmail.com]: Did not correctly decode SPECIAL2 instructions (e.g., madd). 2006-08-28 * spim/Makefile: Explicitly include exception handler path for "make test" to eliminate need to install it before running test. @ text @$NetBSD$ --- xspim/Imakefile.orig 2010-01-09 05:22:58.000000000 +0000 +++ xspim/Imakefile @@@@ -43,13 +43,13 @@@@ # # Full path for the directory that will hold the executable files: -BIN_DIR = /usr/local/bin +#BIN_DIR = /usr/local/bin # Full path for the directory that will hold the exception handler: -EXCEPTION_DIR = /usr/local/lib/spim +EXCEPTION_DIR = $(PREFIX)/share/spim # Full path for the directory that will hold the man files: -MAN_DIR = /usr/local/man/en +#MAN_DIR = /usr/local/man/en # If you have flex, use it instead of lex. If you use flex, define this @@@@ -122,7 +122,7 @@@@ force: configuration configuration: ./Configure -InstallProgram(xspim,$(BIN_DIR)) +InstallProgram(xspim,$(BINDIR)) InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR)/exceptions.s) #InstallManPage($(DOC_DIR)/xspim,$(MAN_DIR)) @@@@ -157,7 +157,7 @@@@ very-clean: clean rm -f configuration makedepend: y.tab.c - makedepend -w10 -I. -I$(CPU_DIR) $(CPU_DIR)\*.c *.c + makedepend -w10 -I$(X11BASE)/include -I. -I$(CPU_DIR) $(CPU_DIR)\*.c *.c # # DO NOT DELETE THIS LINE -- make depend depends on it. @ 1.6 log @Update to spim 7.3 various bug fixes including a fix for using recent flex. @ text @d3 1 a3 1 --- xspim/Imakefile.orig 2006-08-29 14:23:19.000000000 +1200 d5 1 a5 1 @@@@ -33,13 +33,13 @@@@ d10 1 a10 1 +# BIN_DIR = /usr/local/bin d13 1 a13 1 -EXCEPTION_DIR = /usr/local/lib d17 2 a18 2 -MAN_DIR = /usr/man/mann +# MAN_DIR = /usr/man/mann d22 1 a22 1 @@@@ -112,7 +112,7 @@@@ force: configuration d28 1 a28 1 InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR)) d31 1 a31 1 @@@@ -147,7 +147,7 @@@@ very-clean: clean @ 1.5 log @Rework Imakefile so manual pages are actually installed. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2005/07/17 21:38:45 kristerw Exp $ d3 3 a5 3 --- Imakefile.orig 2005-01-03 13:03:48.000000000 +1300 +++ Imakefile @@@@ -44,13 +44,13 @@@@ d8 6 a13 2 # Full path for directory that will hold the exception handler file: -EXCEPTION_DIR = . a15 4 # Full path for the directory that will hold the executable files: -BIN_DIR = /usr/unsup/bin +# BIN_DIR = $(PREFIX)/bin d17 2 a18 2 -MAN_DIR = /var/unsup/man +# MAN_DIR = $(PREFIX)/man/man1 d22 3 a24 6 @@@@ -111,7 +111,7 @@@@ CSH = csh # Program dependencies: # -AllTarget(spim) +AllTarget(spim xspim) a25 7 spim: force @@touch .spim-made @@@@ -131,10 +131,10 @@@@ configuration: NormalProgramTarget(spim_sub,$(OBJS),,,) NormalProgramTarget(xspim_sub,$(XOBJS),$(DEPLIBS),$(LOCALLIBS),$(SYSLIBS)) -InstallProgram(spim,$(BIN_DIR)) a26 3 -InstallManPage(spim,$(MAN_DIR)) -InstallManPage(xspim,$(MAN_DIR)) +InstallProgram(spim,$(BINDIR)) d28 2 a29 4 +InstallManPage(spim,$(MANDIR)) +InstallManPage(xspim,$(MANDIR)) InstallNonExec(exceptions.s,$(EXCEPTION_DIR)) d31 2 a32 2 @@@@ -250,7 +250,7 @@@@ shar: mv -f lex.yy.c.xx lex.yy.c d34 3 a36 3 depend:: - makedepend -w10 *.c + makedepend -w10 -I$(X11BASE)/include *.c @ 1.4 log @Update spim to 7.1. Changes since 6.5 includes * Upgraded simulator to MIPS32, Version 1 architecture (except details of FPU and memory). * Exceptions and interrupts reimplemented, to make them closer to the actual hardware. * Memory mapped IO console reimplemented to make it work properly. * Implemented timer in CPU. * Improved implementation of delayed load instructions. as well as many minor changes. Fixes PR pkg/30227 reported from Michai Ramakers. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- Imakefile.orig 2005-07-17 23:05:04.000000000 +0200 +++ Imakefile 2005-07-17 23:06:37.000000000 +0200 d14 1 a14 1 +BIN_DIR = $(PREFIX)/bin d18 1 a18 1 +MAN_DIR = $(PREFIX)/man/man1 d22 25 a46 1 @@@@ -250,7 +250,7 @@@@ @ 1.3 log @update 6.1 to 6.2 @ text @d3 2 a4 2 --- Imakefile.BAK Sat Jul 17 14:59:04 1999 +++ Imakefile Sat Jul 17 14:59:15 1999 d8 3 a10 3 # Full path for directory that will hold the trap handler file: -TRAP_DIR = . +TRAP_DIR = $(PREFIX)/share/spim d14 1 a14 1 +BIN_DIR = $(PREFIX)/bin d22 1 a22 1 @@@@ -252,7 +252,7 @@@@ @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 2 a4 2 --- Imakefile.orig Tue Dec 30 16:50:02 1997 +++ Imakefile Tue Apr 28 19:40:27 1998 d22 1 a22 1 @@@@ -253,7 +253,7 @@@@ @ 1.1 log @New "spim-6.1" package created from the FreeBSD port by Matt Debergalis. @ text @d1 2 @