| Submitter | malc |
|---|---|
| Date | April 19, 2010, 4:05 p.m. |
| Message ID | <alpine.LNX.2.00.1004192004080.1477@linmac> |
| Download | mbox | patch |
| Permalink | /patch/50473/ |
| State | New |
| Headers | show |
Comments
On 04/19/2010 11:05 AM, malc wrote: > Apparently i'm not the only one who misinterpreted this bit of bswap > documentation. How about: > > diff --git a/tcg/README b/tcg/README > index 68d27ff..5b39a38 100644 > --- a/tcg/README > +++ b/tcg/README > @@ -269,7 +269,7 @@ ext32u_i64 t0, t1 > * bswap16_i32/i64 t0, t1 > > 16 bit byte swap on a 32/64 bit value. It assumes that the two/six high > order > -bytes are set to zero. > +bytes of t1 are set to zero. Ok by me. You should also adjust the bswap32 documentation just below. r~
Patch
diff --git a/tcg/README b/tcg/README index 68d27ff..5b39a38 100644 --- a/tcg/README +++ b/tcg/README @@ -269,7 +269,7 @@ ext32u_i64 t0, t1 * bswap16_i32/i64 t0, t1 16 bit byte swap on a 32/64 bit value. It assumes that the two/six high order -bytes are set to zero. +bytes of t1 are set to zero. * bswap32_i32/i64 t0, t1