Changeset 259


Ignore:
Timestamp:
Jan 11, 2004, 5:51:35 PM (21 years ago)
Author:
Gary Byers
Message:

rename some macros: ppc->ppc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/PPC/PPC64/ppc64-vinsns.lisp

    r253 r259  
    31413141
    31423142;;; Subprim calls.  Done this way for the benefit of VINSN-OPTIMIZE.
    3143 (defmacro define-ppc-subprim-call-vinsn ((name &rest other-attrs) spno)
     3143(defmacro define-ppc64-subprim-call-vinsn ((name &rest other-attrs) spno)
    31443144  `(define-ppc64-vinsn (,name :call :subprim-call ,@other-attrs) (() ())
    31453145    (bla ,spno)))
    31463146
    3147 (defmacro define-ppc-subprim-jump-vinsn ((name &rest other-attrs) spno)
     3147(defmacro define-ppc64-subprim-jump-vinsn ((name &rest other-attrs) spno)
    31483148  `(define-ppc64-vinsn (,name :jump :jumpLR ,@other-attrs) (() ())
    31493149    (ba ,spno)))
    31503150
    3151 (define-ppc-subprim-jump-vinsn (restore-interrupt-level) .SPrestoreintlevel)
    3152 
    3153 (define-ppc-subprim-call-vinsn (save-values) .SPsave-values)
    3154 
    3155 (define-ppc-subprim-call-vinsn (recover-values)  .SPrecover-values)
    3156 
    3157 (define-ppc-subprim-call-vinsn (add-values) .SPadd-values)
    3158 
    3159 (define-ppc-subprim-jump-vinsn (jump-known-symbol-ool) .SPjmpsym)
    3160 
    3161 (define-ppc-subprim-call-vinsn (call-known-symbol-ool)  .SPjmpsym)
    3162 
    3163 (define-ppc-subprim-call-vinsn (pass-multiple-values)  .SPmvpass)
    3164 
    3165 (define-ppc-subprim-call-vinsn (pass-multiple-values-symbol) .SPmvpasssym)
    3166 
    3167 (define-ppc-subprim-jump-vinsn (tail-call-sym-gen) .SPtcallsymgen)
    3168 
    3169 (define-ppc-subprim-jump-vinsn (tail-call-fn-gen) .SPtcallnfngen)
    3170 
    3171 (define-ppc-subprim-jump-vinsn (tail-call-sym-slide) .SPtcallsymslide)
    3172 
    3173 (define-ppc-subprim-jump-vinsn (tail-call-fn-slide) .SPtcallnfnslide)
    3174 
    3175 (define-ppc-subprim-jump-vinsn (tail-call-sym-vsp) .SPtcallsymvsp)
    3176 
    3177 (define-ppc-subprim-jump-vinsn (tail-call-fn-vsp) .SPtcallnfnvsp)
    3178 
    3179 (define-ppc-subprim-call-vinsn (funcall)  .SPfuncall)
    3180 
    3181 (define-ppc-subprim-jump-vinsn (tail-funcall-gen) .SPtfuncallgen)
    3182 
    3183 (define-ppc-subprim-jump-vinsn (tail-funcall-slide) .SPtfuncallslide)
    3184 
    3185 (define-ppc-subprim-jump-vinsn (tail-funcall-vsp) .SPtfuncallvsp)
    3186 
    3187 (define-ppc-subprim-call-vinsn (spread-lexpr)  .SPspread-lexpr-z)
    3188 
    3189 (define-ppc-subprim-call-vinsn (spread-list)  .SPspreadargz)
    3190 
    3191 (define-ppc-subprim-call-vinsn (pop-argument-registers)  .SPvpopargregs)
    3192 
    3193 (define-ppc-subprim-call-vinsn (getxlong)  .SPgetXlong)
    3194 
    3195 (define-ppc-subprim-call-vinsn (stack-cons-list)  .SPstkconslist)
    3196 
    3197 (define-ppc-subprim-call-vinsn (list) .SPconslist)
    3198 
    3199 (define-ppc-subprim-call-vinsn (stack-cons-list*)  .SPstkconslist-star)
    3200 
    3201 (define-ppc-subprim-call-vinsn (list*) .SPconslist-star)
    3202 
    3203 (define-ppc-subprim-call-vinsn (make-stack-block)  .SPmakestackblock)
    3204 
    3205 (define-ppc-subprim-call-vinsn (make-stack-block0)  .Spmakestackblock0)
    3206 
    3207 (define-ppc-subprim-call-vinsn (make-stack-list)  .Spmakestacklist)
    3208 
    3209 (define-ppc-subprim-call-vinsn (make-stack-vector)  .SPmkstackv)
    3210 
    3211 (define-ppc-subprim-call-vinsn (make-stack-gvector)  .SPstkgvector)
    3212 
    3213 (define-ppc-subprim-call-vinsn (stack-misc-alloc)  .SPstack-misc-alloc)
    3214 
    3215 (define-ppc-subprim-call-vinsn (stack-misc-alloc-init)  .SPstack-misc-alloc-init)
    3216 
    3217 (define-ppc-subprim-call-vinsn (svar-bind-nil)  .SPsvar-bind-nil)
    3218 
    3219 (define-ppc-subprim-call-vinsn (svar-bind-self)  .SPsvar-bind-self)
    3220 
    3221 (define-ppc-subprim-call-vinsn (svar-bind-self-boundp-check)  .SPsvar-bind-self-boundp-check)
    3222 
    3223 (define-ppc-subprim-call-vinsn (svar-bind)  .SPsvar-bind)
    3224 
    3225 (define-ppc-subprim-jump-vinsn (nvalret :jumpLR) .SPnvalret)
    3226 
    3227 (define-ppc-subprim-call-vinsn (nthrowvalues) .SPnthrowvalues)
    3228 
    3229 (define-ppc-subprim-call-vinsn (nthrow1value) .SPnthrow1value)
    3230 
    3231 (define-ppc-subprim-call-vinsn (slide-values) .SPmvslide)
    3232 
    3233 (define-ppc-subprim-call-vinsn (macro-bind) .SPmacro-bind)
    3234 
    3235 (define-ppc-subprim-call-vinsn (destructuring-bind-inner) .SPdestructuring-bind-inner)
    3236 
    3237 (define-ppc-subprim-call-vinsn (destructuring-bind) .SPdestructuring-bind)
    3238 
    3239 (define-ppc-subprim-call-vinsn (simple-keywords) .SPsimple-keywords)
    3240 
    3241 (define-ppc-subprim-call-vinsn (keyword-args) .SPkeyword-args)
    3242 
    3243 (define-ppc-subprim-call-vinsn (keyword-bind) .SPkeyword-bind)
    3244 
    3245 (define-ppc-subprim-call-vinsn (stack-rest-arg) .SPstack-rest-arg)
    3246 
    3247 (define-ppc-subprim-call-vinsn (req-stack-rest-arg) .SPreq-stack-rest-arg)
    3248 
    3249 (define-ppc-subprim-call-vinsn (stack-cons-rest-arg) .SPstack-cons-rest-arg)
    3250 
    3251 (define-ppc-subprim-call-vinsn (heap-rest-arg) .SPheap-rest-arg)
    3252 
    3253 (define-ppc-subprim-call-vinsn (req-heap-rest-arg) .SPreq-heap-rest-arg)
    3254 
    3255 (define-ppc-subprim-call-vinsn (heap-cons-rest-arg) .SPheap-cons-rest-arg)
    3256 
    3257 (define-ppc-subprim-call-vinsn (opt-supplied-p) .SPopt-supplied-p)
    3258 
    3259 (define-ppc-subprim-call-vinsn (gvector) .SPgvector)
     3151(define-ppc64-subprim-jump-vinsn (restore-interrupt-level) .SPrestoreintlevel)
     3152
     3153(define-ppc64-subprim-call-vinsn (save-values) .SPsave-values)
     3154
     3155(define-ppc64-subprim-call-vinsn (recover-values)  .SPrecover-values)
     3156
     3157(define-ppc64-subprim-call-vinsn (add-values) .SPadd-values)
     3158
     3159(define-ppc64-subprim-jump-vinsn (jump-known-symbol-ool) .SPjmpsym)
     3160
     3161(define-ppc64-subprim-call-vinsn (call-known-symbol-ool)  .SPjmpsym)
     3162
     3163(define-ppc64-subprim-call-vinsn (pass-multiple-values)  .SPmvpass)
     3164
     3165(define-ppc64-subprim-call-vinsn (pass-multiple-values-symbol) .SPmvpasssym)
     3166
     3167(define-ppc64-subprim-jump-vinsn (tail-call-sym-gen) .SPtcallsymgen)
     3168
     3169(define-ppc64-subprim-jump-vinsn (tail-call-fn-gen) .SPtcallnfngen)
     3170
     3171(define-ppc64-subprim-jump-vinsn (tail-call-sym-slide) .SPtcallsymslide)
     3172
     3173(define-ppc64-subprim-jump-vinsn (tail-call-fn-slide) .SPtcallnfnslide)
     3174
     3175(define-ppc64-subprim-jump-vinsn (tail-call-sym-vsp) .SPtcallsymvsp)
     3176
     3177(define-ppc64-subprim-jump-vinsn (tail-call-fn-vsp) .SPtcallnfnvsp)
     3178
     3179(define-ppc64-subprim-call-vinsn (funcall)  .SPfuncall)
     3180
     3181(define-ppc64-subprim-jump-vinsn (tail-funcall-gen) .SPtfuncallgen)
     3182
     3183(define-ppc64-subprim-jump-vinsn (tail-funcall-slide) .SPtfuncallslide)
     3184
     3185(define-ppc64-subprim-jump-vinsn (tail-funcall-vsp) .SPtfuncallvsp)
     3186
     3187(define-ppc64-subprim-call-vinsn (spread-lexpr)  .SPspread-lexpr-z)
     3188
     3189(define-ppc64-subprim-call-vinsn (spread-list)  .SPspreadargz)
     3190
     3191(define-ppc64-subprim-call-vinsn (pop-argument-registers)  .SPvpopargregs)
     3192
     3193(define-ppc64-subprim-call-vinsn (getxlong)  .SPgetXlong)
     3194
     3195(define-ppc64-subprim-call-vinsn (stack-cons-list)  .SPstkconslist)
     3196
     3197(define-ppc64-subprim-call-vinsn (list) .SPconslist)
     3198
     3199(define-ppc64-subprim-call-vinsn (stack-cons-list*)  .SPstkconslist-star)
     3200
     3201(define-ppc64-subprim-call-vinsn (list*) .SPconslist-star)
     3202
     3203(define-ppc64-subprim-call-vinsn (make-stack-block)  .SPmakestackblock)
     3204
     3205(define-ppc64-subprim-call-vinsn (make-stack-block0)  .Spmakestackblock0)
     3206
     3207(define-ppc64-subprim-call-vinsn (make-stack-list)  .Spmakestacklist)
     3208
     3209(define-ppc64-subprim-call-vinsn (make-stack-vector)  .SPmkstackv)
     3210
     3211(define-ppc64-subprim-call-vinsn (make-stack-gvector)  .SPstkgvector)
     3212
     3213(define-ppc64-subprim-call-vinsn (stack-misc-alloc)  .SPstack-misc-alloc)
     3214
     3215(define-ppc64-subprim-call-vinsn (stack-misc-alloc-init)  .SPstack-misc-alloc-init)
     3216
     3217(define-ppc64-subprim-call-vinsn (svar-bind-nil)  .SPsvar-bind-nil)
     3218
     3219(define-ppc64-subprim-call-vinsn (svar-bind-self)  .SPsvar-bind-self)
     3220
     3221(define-ppc64-subprim-call-vinsn (svar-bind-self-boundp-check)  .SPsvar-bind-self-boundp-check)
     3222
     3223(define-ppc64-subprim-call-vinsn (svar-bind)  .SPsvar-bind)
     3224
     3225(define-ppc64-subprim-jump-vinsn (nvalret :jumpLR) .SPnvalret)
     3226
     3227(define-ppc64-subprim-call-vinsn (nthrowvalues) .SPnthrowvalues)
     3228
     3229(define-ppc64-subprim-call-vinsn (nthrow1value) .SPnthrow1value)
     3230
     3231(define-ppc64-subprim-call-vinsn (slide-values) .SPmvslide)
     3232
     3233(define-ppc64-subprim-call-vinsn (macro-bind) .SPmacro-bind)
     3234
     3235(define-ppc64-subprim-call-vinsn (destructuring-bind-inner) .SPdestructuring-bind-inner)
     3236
     3237(define-ppc64-subprim-call-vinsn (destructuring-bind) .SPdestructuring-bind)
     3238
     3239(define-ppc64-subprim-call-vinsn (simple-keywords) .SPsimple-keywords)
     3240
     3241(define-ppc64-subprim-call-vinsn (keyword-args) .SPkeyword-args)
     3242
     3243(define-ppc64-subprim-call-vinsn (keyword-bind) .SPkeyword-bind)
     3244
     3245(define-ppc64-subprim-call-vinsn (stack-rest-arg) .SPstack-rest-arg)
     3246
     3247(define-ppc64-subprim-call-vinsn (req-stack-rest-arg) .SPreq-stack-rest-arg)
     3248
     3249(define-ppc64-subprim-call-vinsn (stack-cons-rest-arg) .SPstack-cons-rest-arg)
     3250
     3251(define-ppc64-subprim-call-vinsn (heap-rest-arg) .SPheap-rest-arg)
     3252
     3253(define-ppc64-subprim-call-vinsn (req-heap-rest-arg) .SPreq-heap-rest-arg)
     3254
     3255(define-ppc64-subprim-call-vinsn (heap-cons-rest-arg) .SPheap-cons-rest-arg)
     3256
     3257(define-ppc64-subprim-call-vinsn (opt-supplied-p) .SPopt-supplied-p)
     3258
     3259(define-ppc64-subprim-call-vinsn (gvector) .SPgvector)
    32603260
    32613261(define-ppc64-vinsn (nth-value :call :subprim-call) (((result :lisp))
     
    32633263  (bla .SPnthvalue))
    32643264
    3265 (define-ppc-subprim-call-vinsn (fitvals) .SPfitvals)
    3266 
    3267 (define-ppc-subprim-call-vinsn (misc-alloc) .SPmisc-alloc)
    3268 
    3269 (define-ppc-subprim-call-vinsn (misc-alloc-init) .SPmisc-alloc-init)
    3270 
    3271 (define-ppc-subprim-call-vinsn (integer-sign) .SPinteger-sign)
     3265(define-ppc64-subprim-call-vinsn (fitvals) .SPfitvals)
     3266
     3267(define-ppc64-subprim-call-vinsn (misc-alloc) .SPmisc-alloc)
     3268
     3269(define-ppc64-subprim-call-vinsn (misc-alloc-init) .SPmisc-alloc-init)
     3270
     3271(define-ppc64-subprim-call-vinsn (integer-sign) .SPinteger-sign)
    32723272
    32733273;;; Even though it's implemented by calling a subprim, THROW is really
     
    32793279  (bla .SPthrow))
    32803280
    3281 (define-ppc-subprim-call-vinsn (mkcatchmv) .SPmkcatchmv)
    3282 
    3283 (define-ppc-subprim-call-vinsn (mkcatch1v) .SPmkcatch1v)
    3284 
    3285 (define-ppc-subprim-call-vinsn (setqsym) .SPsvar-setqsym)
    3286 
    3287 (define-ppc-subprim-call-vinsn (ksignalerr) .SPksignalerr)
    3288 
    3289 (define-ppc-subprim-call-vinsn (subtag-misc-ref) .SPsubtag-misc-ref)
    3290 
    3291 (define-ppc-subprim-call-vinsn (subtag-misc-set) .SPsubtag-misc-set)
    3292 
    3293 (define-ppc-subprim-call-vinsn (mkunwind) .SPmkunwind)
    3294 
    3295 (define-ppc-subprim-call-vinsn (progvsave) .SPsvar-progvsave)
    3296 
    3297 (define-ppc-subprim-jump-vinsn (progvrestore) .SPsvar-progvrestore)
    3298 
    3299 (define-ppc-subprim-call-vinsn (syscall) .SPsyscall)
    3300 
    3301 (define-ppc-subprim-call-vinsn (newblocktag) .SPnewblocktag)
    3302 
    3303 (define-ppc-subprim-call-vinsn (newgotag) .SPnewgotag)
    3304 
    3305 (define-ppc-subprim-call-vinsn (misc-ref) .SPmisc-ref)
    3306 
    3307 (define-ppc-subprim-call-vinsn (misc-set) .SPmisc-set)
    3308 
    3309 (define-ppc-subprim-call-vinsn (gets64) .SPgets64)
    3310 
    3311 (define-ppc-subprim-call-vinsn (getu64) .SPgetu64)
    3312 
    3313 (define-ppc-subprim-call-vinsn (makeu64) .SPmakeu64)
    3314 
    3315 (define-ppc-subprim-call-vinsn (makes64) .SPmakes64)
     3281(define-ppc64-subprim-call-vinsn (mkcatchmv) .SPmkcatchmv)
     3282
     3283(define-ppc64-subprim-call-vinsn (mkcatch1v) .SPmkcatch1v)
     3284
     3285(define-ppc64-subprim-call-vinsn (setqsym) .SPsvar-setqsym)
     3286
     3287(define-ppc64-subprim-call-vinsn (ksignalerr) .SPksignalerr)
     3288
     3289(define-ppc64-subprim-call-vinsn (subtag-misc-ref) .SPsubtag-misc-ref)
     3290
     3291(define-ppc64-subprim-call-vinsn (subtag-misc-set) .SPsubtag-misc-set)
     3292
     3293(define-ppc64-subprim-call-vinsn (mkunwind) .SPmkunwind)
     3294
     3295(define-ppc64-subprim-call-vinsn (progvsave) .SPsvar-progvsave)
     3296
     3297(define-ppc64-subprim-jump-vinsn (progvrestore) .SPsvar-progvrestore)
     3298
     3299(define-ppc64-subprim-call-vinsn (syscall) .SPsyscall)
     3300
     3301(define-ppc64-subprim-call-vinsn (newblocktag) .SPnewblocktag)
     3302
     3303(define-ppc64-subprim-call-vinsn (newgotag) .SPnewgotag)
     3304
     3305(define-ppc64-subprim-call-vinsn (misc-ref) .SPmisc-ref)
     3306
     3307(define-ppc64-subprim-call-vinsn (misc-set) .SPmisc-set)
     3308
     3309(define-ppc64-subprim-call-vinsn (gets64) .SPgets64)
     3310
     3311(define-ppc64-subprim-call-vinsn (getu64) .SPgetu64)
     3312
     3313(define-ppc64-subprim-call-vinsn (makeu64) .SPmakeu64)
     3314
     3315(define-ppc64-subprim-call-vinsn (makes64) .SPmakes64)
    33163316
    33173317(define-ppc64-vinsn (darwin-syscall :call :subprim-call) (()
     
    33253325  (bla .SPdarwin-syscall))
    33263326
    3327 (define-ppc-subprim-call-vinsn (eabi-ff-call) .SPeabi-ff-call)
    3328 
    3329 (define-ppc-subprim-call-vinsn (poweropen-ff-call) .SPffcall)
    3330 
    3331 (define-ppc-subprim-call-vinsn (poweropen-ff-callX) .SPffcallX)
     3327(define-ppc64-subprim-call-vinsn (eabi-ff-call) .SPeabi-ff-call)
     3328
     3329(define-ppc64-subprim-call-vinsn (poweropen-ff-call) .SPffcall)
     3330
     3331(define-ppc64-subprim-call-vinsn (poweropen-ff-callX) .SPffcallX)
    33323332
    33333333
Note: See TracChangeset for help on using the changeset viewer.