LEFT | RIGHT |
(no file at all) | |
1 // Inferno utils/5c/peep.c | 1 // Inferno utils/5c/peep.c |
2 // http://code.google.com/p/inferno-os/source/browse/utils/5c/peep.c | 2 // http://code.google.com/p/inferno-os/source/browse/utils/5c/peep.c |
3 // | 3 // |
4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. | 4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. |
5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) | 5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) |
6 // Portions Copyright © 1997-1999 Vita Nuova Limited | 6 // Portions Copyright © 1997-1999 Vita Nuova Limited |
7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) | 7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) |
8 // Portions Copyright © 2004,2006 Bruce Ellis | 8 // Portions Copyright © 2004,2006 Bruce Ellis |
9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) | 9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) |
10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others | 10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 return 4; | 1049 return 4; |
1050 return 3; | 1050 return 3; |
1051 } | 1051 } |
1052 if(copyau(&p->from, v)) | 1052 if(copyau(&p->from, v)) |
1053 return 1; | 1053 return 1; |
1054 if(copyau(&p->to, v)) | 1054 if(copyau(&p->to, v)) |
1055 return 1; | 1055 return 1; |
1056 return 0; | 1056 return 0; |
1057 | 1057 |
1058 case AMULLU: /* read, read, write, write */ | 1058 case AMULLU: /* read, read, write, write */ |
| 1059 case AMULL: |
1059 case AMULA: | 1060 case AMULA: |
1060 case AMVN: | 1061 case AMVN: |
1061 return 2; | 1062 return 2; |
1062 | 1063 |
1063 case AADD: /* read, read, write */ | 1064 case AADD: /* read, read, write */ |
1064 case AADC: | 1065 case AADC: |
1065 case ASUB: | 1066 case ASUB: |
1066 case ASBC: | 1067 case ASBC: |
1067 case ARSB: | 1068 case ARSB: |
1068 case ASLL: | 1069 case ASLL: |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 } | 1545 } |
1545 } | 1546 } |
1546 | 1547 |
1547 int | 1548 int |
1548 isdconst(Addr *a) | 1549 isdconst(Addr *a) |
1549 { | 1550 { |
1550 if(a->type == D_CONST && a->reg == NREG) | 1551 if(a->type == D_CONST && a->reg == NREG) |
1551 return 1; | 1552 return 1; |
1552 return 0; | 1553 return 0; |
1553 } | 1554 } |
LEFT | RIGHT |