Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
0a75e798
Commit
0a75e798
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed %floor so the lifetimes are correct.
parent
7228a495
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/mips/arith.lisp
+10
-10
10 additions, 10 deletions
compiler/mips/arith.lisp
with
10 additions
and
10 deletions
compiler/mips/arith.lisp
+
10
−
10
View file @
0a75e798
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/arith.lisp,v 1.3
7
1990/11/
03 03:25
:1
0
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/arith.lisp,v 1.3
8
1990/11/
16 04:44
:1
2
wlott Exp $
;;;
;;;
;;; This file contains the VM definition arithmetic VOPs for the MIPS.
;;; This file contains the VM definition arithmetic VOPs for the MIPS.
;;;
;;;
...
@@ -765,30 +765,30 @@
...
@@ -765,30 +765,30 @@
(
define-vop
(
bignum-floor
)
(
define-vop
(
bignum-floor
)
(
:translate
bignum::%floor
)
(
:translate
bignum::%floor
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:args
(
a
:scs
(
unsigned-reg
)
:target
rem
)
(
:args
(
num-high
:scs
(
unsigned-reg
)
:target
rem
)
(
b
:scs
(
unsigned-reg
)
:target
rem-low
)
(
num-low
:scs
(
unsigned-reg
)
:target
rem-low
)
(
c
:scs
(
unsigned-reg
)
:to
(
:eval
1
)))
(
denom
:scs
(
unsigned-reg
)
:to
(
:eval
1
)))
(
:arg-types
unsigned-num
unsigned-num
unsigned-num
)
(
:arg-types
unsigned-num
unsigned-num
unsigned-num
)
(
:temporary
(
:scs
(
unsigned-reg
)
:from
(
:argument
1
))
rem-low
)
(
:temporary
(
:scs
(
unsigned-reg
)
:from
(
:argument
1
))
rem-low
)
(
:temporary
(
:scs
(
unsigned-reg
)
:from
(
:eval
0
))
temp
)
(
:temporary
(
:scs
(
unsigned-reg
)
:from
(
:eval
0
))
temp
)
(
:results
(
quo
:scs
(
unsigned-reg
)
:from
(
:eval
0
))
(
:results
(
quo
:scs
(
unsigned-reg
)
:from
(
:eval
0
))
(
rem
:scs
(
unsigned-reg
)
:from
(
:
eval
0
)))
(
rem
:scs
(
unsigned-reg
)
:from
(
:
argument
0
)))
(
:result-types
unsigned-num
unsigned-num
)
(
:result-types
unsigned-num
unsigned-num
)
(
:generator
325
; number of inst assuming targeting works.
(
:generator
325
; number of inst assuming targeting works.
(
move
rem
a
)
(
move
rem
num-high
)
(
move
rem-low
b
)
(
move
rem-low
num-low
)
(
flet
((
maybe-subtract
(
&optional
(
guess
temp
))
(
flet
((
maybe-subtract
(
&optional
(
guess
temp
))
(
inst
subu
temp
guess
1
)
(
inst
subu
temp
guess
1
)
(
inst
and
temp
c
)
(
inst
and
temp
denom
)
(
inst
subu
rem
temp
)))
(
inst
subu
rem
temp
)))
(
inst
sltu
quo
rem
c
)
(
inst
sltu
quo
rem
denom
)
(
maybe-subtract
quo
)
(
maybe-subtract
quo
)
(
dotimes
(
i
32
)
(
dotimes
(
i
32
)
(
inst
sll
rem
1
)
(
inst
sll
rem
1
)
(
inst
srl
temp
rem-low
31
)
(
inst
srl
temp
rem-low
31
)
(
inst
or
rem
temp
)
(
inst
or
rem
temp
)
(
inst
sll
rem-low
1
)
(
inst
sll
rem-low
1
)
(
inst
sltu
temp
rem
c
)
(
inst
sltu
temp
rem
denom
)
(
inst
sll
quo
1
)
(
inst
sll
quo
1
)
(
inst
or
quo
temp
)
(
inst
or
quo
temp
)
(
maybe-subtract
)))
(
maybe-subtract
)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment