diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-07-20 21:32:04 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-07-20 21:32:04 +0100 |
| commit | e3e7504624b9c40421c487e742d65b3a3f16e4e0 (patch) | |
| tree | 2f2d4bda9a0f20e40b1e0d268ecfa8e3513bbabe /libinterp/comp-power.c | |
| parent | 1414757b61ed827fd665afd74aa85bcd56541e80 (diff) | |
use lwz not lhz for 21-bit runes
Diffstat (limited to 'libinterp/comp-power.c')
| -rw-r--r-- | libinterp/comp-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libinterp/comp-power.c b/libinterp/comp-power.c index ec8835a1..a53b0bf8 100644 --- a/libinterp/comp-power.c +++ b/libinterp/comp-power.c @@ -1564,7 +1564,7 @@ comp(Inst *i) else ARRR(Olhzx, Ro3, Ro1, Ro2); } else - mem(Olhz, (short)i->reg<<Lg2Rune, Ro1, Ro3); /* BUG: TO DO: 16-bit signed displacement */ + mem(Olwz, (short)i->reg<<Lg2Rune, Ro1, Ro3); /* BUG: TO DO: 16-bit signed displacement */ gen(Ob | (2*4)); // skip PATCH(cp); if((i->add&ARM) != AXIMM) |
