X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fmips%2Finsts.lisp;h=b19fc9b41433c8a5c6bf08f0ba4c4d71e2fe0923;hb=5ecef987f3847ed5de8c03f66ef9d8ab468af993;hp=6ae9eb809d16307f4e5483b8da8ba21bb9687815;hpb=ed3bd9c7d61a3c1bf8ad81d82a671359117bd235;p=sbcl.git diff --git a/src/compiler/mips/insts.lisp b/src/compiler/mips/insts.lisp index 6ae9eb8..b19fc9b 100644 --- a/src/compiler/mips/insts.lisp +++ b/src/compiler/mips/insts.lisp @@ -1,9 +1,18 @@ +;;; the instruction set definition for MIPS + +;;;; This software is part of the SBCL system. See the README file for +;;;; more information. +;;;; +;;;; This software is derived from the CMU CL system, which was +;;;; written at Carnegie Mellon University and released into the +;;;; public domain. The software is in the public domain and is +;;;; provided with absolutely no warranty. See the COPYING and CREDITS +;;;; files for more information. + (in-package "SB!VM") (setf *assem-scheduler-p* t) (setf *assem-max-locations* 68) - - ;;;; Constants, types, conversion functions, some disassembler stuff. @@ -977,10 +986,8 @@ (cond (length-only (values 0 (1+ length) nil nil)) (t - (sb!kernel:copy-from-system-area sap (* n-byte-bits (1+ offset)) - vector (* n-word-bits - vector-data-offset) - (* length n-byte-bits)) + (sb!kernel:copy-ub8-from-system-area sap (1+ offset) + vector 0 length) (collect ((sc-offsets) (lengths)) (lengths 1) ; the length byte