Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(198)

Side by Side Diff: src/cmd/8l/optab.c

Issue 6208093: code review 6208093: cmd/8a, cmd/8l: add BSWAPL (Closed)
Patch Set: diff -r 06534433939e https://go.googlecode.com/hg/ Created 12 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/cmd/8l/8.out.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Inferno utils/8l/optab.c 1 // Inferno utils/8l/optab.c
2 // http://code.google.com/p/inferno-os/source/browse/utils/8l/optab.c 2 // http://code.google.com/p/inferno-os/source/browse/utils/8l/optab.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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 Yi8, Ynone, Zib_, 1, 235 Yi8, Ynone, Zib_, 1,
236 Yi32, Ynone, Zil_, 1, 236 Yi32, Ynone, Zil_, 1,
237 0 237 0
238 }; 238 };
239 uchar ypopl[] = 239 uchar ypopl[] =
240 { 240 {
241 Ynone, Yrl, Z_rp, 1, 241 Ynone, Yrl, Z_rp, 1,
242 Ynone, Ym, Zo_m, 2, 242 Ynone, Ym, Zo_m, 2,
243 0 243 0
244 }; 244 };
245 uchar ybswap[] =
246 {
247 Ynone, Yrl, Z_rp, 1,
248 0,
249 };
245 uchar yscond[] = 250 uchar yscond[] =
246 { 251 {
247 Ynone, Ymb, Zo_m, 2, 252 Ynone, Ymb, Zo_m, 2,
248 0 253 0
249 }; 254 };
250 uchar yjcond[] = 255 uchar yjcond[] =
251 { 256 {
252 Ynone, Ybr, Zbr, 1, 257 Ynone, Ybr, Zbr, 1,
253 0 258 0
254 }; 259 };
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 { AMFENCE, ynone, Pm, 0xae,0xf0 }, 769 { AMFENCE, ynone, Pm, 0xae,0xf0 },
765 { ASFENCE, ynone, Pm, 0xae,0xf8 }, 770 { ASFENCE, ynone, Pm, 0xae,0xf8 },
766 771
767 { AEMMS, ynone, Pm, 0x77 }, 772 { AEMMS, ynone, Pm, 0x77 },
768 773
769 { APREFETCHT0, yprefetch, Pm, 0x18,(01) }, 774 { APREFETCHT0, yprefetch, Pm, 0x18,(01) },
770 { APREFETCHT1, yprefetch, Pm, 0x18,(02) }, 775 { APREFETCHT1, yprefetch, Pm, 0x18,(02) },
771 { APREFETCHT2, yprefetch, Pm, 0x18,(03) }, 776 { APREFETCHT2, yprefetch, Pm, 0x18,(03) },
772 { APREFETCHNTA, yprefetch, Pm, 0x18,(00) }, 777 { APREFETCHNTA, yprefetch, Pm, 0x18,(00) },
773 778
779 { ABSWAPL, ybswap, Pm, 0xc8 },
780
774 0 781 0
775 }; 782 };
OLDNEW
« no previous file with comments | « src/cmd/8l/8.out.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b