Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/MLRISC/alpha/alpha.md
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/alpha/alpha.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 656, Fri Jun 9 03:39:04 2000 UTC revision 657, Fri Jun 9 05:20:54 2000 UTC
# Line 266  Line 266 
266           [BPT, BUGCHK, CALLSYS, GENTRAP, IMB, RDUNIQUE, WRUNIQUE]           [BPT, BUGCHK, CALLSYS, GENTRAP, IMB, RDUNIQUE, WRUNIQUE]
267     end (* RTL *)     end (* RTL *)
268    
269    
270       (*
271        * Reservation tables and pipeline definitions for scheduling
272        *)
273    
274       (* Function units *)
275       resource issue and mem and alu and falu and fmul and fdiv and branch
276    
277       (* Different implementations of cpus *)
278       cpu default 2 [2 issue, 2 mem, 1 alu]  (* 2 issue machine *)
279    
280       (* Definitions of various reservation tables *)
281       pipeline NOP _    = [issue]
282        and     ARITH _  = [issue^^alu]
283        and     LOAD _   = [issue^^mem]
284        and     STORE _  = [issue^^mem,mem,mem]
285        and     FARITH _ = [issue^^falu]
286        and     FMUL _   = [issue^^fmul,fmul]
287        and     FDIV _   = [issue^^fdiv,fdiv*50]
288        and     BRANCH _ = [issue^^branch]
289    
290     (*     (*
291      * We now specify the instruction representation, assembly,      * We now specify the instruction representation, assembly,
292      * machine code encoding and ``semantics''      * machine code encoding and ``semantics''
# Line 646  Line 667 
667       asm: ``phi''       asm: ``phi''
668       mc:  ()       mc:  ()
669    
670       structure SSA =
671       struct
672         fun operand(ty, I.REGop r) = T.REG(ty, r)
673           | operand(ty, I.IMMop i) = T.LI i
674           | operand(ty, _) = error "operand"
675       end
676    
677   end   end

Legend:
Removed from v.656  
changed lines
  Added in v.657

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0