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 582, Thu Mar 23 01:04:32 2000 UTC revision 583, Thu Mar 23 21:52:30 2000 UTC
# Line 73  Line 73 
73       rtl LDAH{r,b,d} = $r[r] := $r[b] + %d << 16       rtl LDAH{r,b,d} = $r[r] := $r[b] + %d << 16
74    
75       (* Integer loads *)       (* Integer loads *)
76         rtl LDBU{r,b,d,mem}   = $r[r] := zx (byte $m[disp(b,d):mem])
77         rtl LDWU{r,b,d,mem}   = $r[r] := zx (word $m[disp(b,d):mem])
78       rtl LDL{r,b,d,mem}    = $r[r] := sx (dword $m[disp(b,d):mem])       rtl LDL{r,b,d,mem}    = $r[r] := sx (dword $m[disp(b,d):mem])
79       rtl LDL_L{r,b,d,mem}  = $r[r] := sx (dword $m[align4(disp(b,d)):mem])       rtl LDL_L{r,b,d,mem}  = $r[r] := sx (dword $m[align4(disp(b,d)):mem])
80       rtl LDQ{r,b,d,mem}    = $r[r] := qword $m[disp(b,d):mem]       rtl LDQ{r,b,d,mem}    = $r[r] := qword $m[disp(b,d):mem]
# Line 80  Line 82 
82       rtl LDQ_U{r,b,d,mem}  = $r[r] := qword $m[align8Upper(disp(b,d)):mem]       rtl LDQ_U{r,b,d,mem}  = $r[r] := qword $m[align8Upper(disp(b,d)):mem]
83    
84       (* Integer stores *)       (* Integer stores *)
85         rtl STB{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r] at [0..7]
86         rtl STW{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r] at [0..15]
87       rtl STL{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r] at [0..31]       rtl STL{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r] at [0..31]
88       rtl STQ{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r]       rtl STQ{r,b,d,mem}    = $m[disp(b,d):mem] := $r[r]
89       rtl STQ_U{r,b,d,mem}  = $m[align8(disp(b,d)):mem] := $r[r]       rtl STQ_U{r,b,d,mem}  = $m[align8(disp(b,d)):mem] := $r[r]
# Line 294  Line 298 
298         | FBGE 0x36 | FBGT 0x37         | FBGE 0x36 | FBGT 0x37
299    
300        datatype load! =  (* table C-1 *)        datatype load! =  (* table C-1 *)
301           LDL   0x28           LDBU  0x02
302           | LDWU  0x04
303           | LDL   0x28
304         | LDL_L 0x2A         | LDL_L 0x2A
305         | LDQ   0x29         | LDQ   0x29
306         | LDQ_L 0x2B         | LDQ_L 0x2B
307         | LDQ_U 0x0B         | LDQ_U 0x0B
308        datatype store! = STL 0x2C | STQ 0x2D | STQ_U 0x0F        datatype store! = STB 0x0E | STW 0x0D | STL 0x2C | STQ 0x2D | STQ_U 0x0F
309        datatype fload [0x20..0x23] ! = LDF | LDG | LDS | LDT        datatype fload [0x20..0x23] ! = LDF | LDG | LDS | LDT
310        datatype fstore [0x24..0x27] ! = STF | STG | STS | STT        datatype fstore [0x24..0x27] ! = STF | STG | STS | STT
311    

Legend:
Removed from v.582  
changed lines
  Added in v.583

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