| To: | Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: broken compiler? |
| From: | Ulf Carlsson <ulfc@xxxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 28 Mar 2000 12:42:27 -0800 (PST) |
| Cc: | linux-origin@xxxxxxxxxxx |
| In-reply-to: | <200003282029.MAA25142@xxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-origin@xxxxxxxxxxx |
> Right away, you can see that the way test5() loads the value is > > lui v0,0x801c > daddiu v0,v0,-19064 > lw a1,0(v0) > > whereas test4() loads it using > > lui a1,0x801c > ld a1,-19064(a1) It looks good except that you're using lw in the first case and ld in the second case. That has been a common problem in the mips64 port. > Now, I don't see any problems with the test4() code, but I would like > to change the code to something like > > lui X,0x801c > ld a1,-19064(X) This is ok, you can use the same register as base and target. Ulf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | broken compiler?, Kanoj Sarcar |
|---|---|
| Next by Date: | Re: broken compiler?, Kanoj Sarcar |
| Previous by Thread: | broken compiler?, Kanoj Sarcar |
| Next by Thread: | Re: broken compiler?, Kanoj Sarcar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |