Changeset 8368
- Timestamp:
- Jan 29, 2008, 5:36:07 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ia32/compiler/X86/x86-lapmacros.lisp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ia32/compiler/X86/x86-lapmacros.lisp
r8254 r8368 31 31 (defx86lapmacro set-nargs (n) 32 32 (if (eql n 0) 33 `(xor w(% nargs) (% nargs))34 `(mov w($ ',n) (% nargs))))33 `(xorl (% nargs) (% nargs)) 34 `(movl ($ ',n) (% nargs)))) 35 35 36 36 (defx86lapmacro check-nargs (min &optional (max min)) … … 383 383 (:x8632 384 384 `(progn 385 (movzwl (% nargs) (% imm0)) 385 ;; nargs *is* imm0 386 (movl (% nargs) (% temp1)) 386 387 (subl ($ (* $numx8632argregs x8632::node-size)) (% imm0)) 387 388 (jle ,push) … … 392 393 ,push 393 394 (save-simple-frame) 394 ,done)) 395 ,done 396 (movl (% temp1) (% nargs)))) 395 397 (:x8664 396 398 `(progn 397 (mov zwl (% nargs) (%l imm0))399 (movl (% nargs) (%l imm0)) 398 400 (subq ($ (* $numx8664argregs x8664::node-size)) (% imm0)) 399 401 (jle ,push) … … 548 550 (:x8632 549 551 `(progn 550 (test w(% nargs) (% nargs))552 (testl (% nargs) (% nargs)) 551 553 (je ,done) 552 (cmp w($ '1) (% nargs))554 (cmpl ($ '1) (% nargs)) 553 555 (je ,z) 554 556 (push (% arg_y)) … … 558 560 (:x8664 559 561 `(progn 560 (test w(% nargs) (% nargs))562 (testl (% nargs) (% nargs)) 561 563 (je ,done) 562 (cmp w($ '2) (% nargs))564 (cmpl ($ '2) (% nargs)) 563 565 (je ,yz) 564 566 (jb ,z)
Note:
See TracChangeset
for help on using the changeset viewer.
