aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 6a88a5a..e37e5f7 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -1096,7 +1096,7 @@ macro (ip)
case M_LWR_AB:
s = "lwr";
ld:
- if (breg == treg || treg == 0) {
+ if (breg == treg || mask == M_LWC1_AB) {
tempreg = AT;
used_at = 1;
} else {