Changeset 6465


Ignore:
Timestamp:
May 9, 2007, 7:32:07 AM (15 years ago)
Author:
gb
Message:

Add call instruction; note that %rip is a register ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/X86/x86-asm.lisp

    r6002 r6465  
    656656           (setq memtype
    657657                 (logior (encode-operand-type :disp32s)
     658                         (encode-operand-type :label)
    658659                         (logandc2 memtype (encode-operand-type :disp)))))
    659660          (t
     
    10721073
    10731074   ;; call
    1074    (def-x8664-opcode callq ((:label :insert-label))
     1075   ;; Probably need to align CALL instructions within the containing function,
     1076   ;; so that return addresses are tagged appropriately.
     1077   (def-x8664-opcode call ((:label :insert-label))
    10751078     #xe8 nil nil)
    10761079
     1080   (def-x8664-opcode call ((:reg64 :insert-modrm-rm))
     1081     #xff #o320 #x0)
     1082
     1083   (def-x8664-opcode call ((:anymem :insert-memory))
     1084     #xff #o020 #x0)
    10771085
    10781086   ;; cbtw
     
    45554563     (register-entry "fs")
    45564564     (register-entry "gs")
     4565     (register-entry "rip")
    45574566     )))
    45584567
Note: See TracChangeset for help on using the changeset viewer.