* [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant
@ 2014-12-23 22:24 Peter Maydell
2014-12-24 0:03 ` Bastian Koppelmann
0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2014-12-23 22:24 UTC (permalink / raw)
To: qemu-devel; +Cc: Bastian Koppelmann
Add a missing ULL suffix to a 64 bit constant: this suppresses a
compiler warning from mingw32 gcc.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target-tricore/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-tricore/op_helper.c b/target-tricore/op_helper.c
index 13e2729..5704549 100644
--- a/target-tricore/op_helper.c
+++ b/target-tricore/op_helper.c
@@ -994,7 +994,7 @@ uint32_t helper_sha(CPUTriCoreState *env, target_ulong r1, target_ulong r2)
} else if (shift_count > 0) {
result = t1 << shift_count;
/* calc carry */
- env->PSW_USB_C = ((result & 0xffffffff00000000) != 0);
+ env->PSW_USB_C = ((result & 0xffffffff00000000ULL) != 0);
/* calc v */
env->PSW_USB_V = (((result > 0x7fffffffLL) ||
(result < -0x80000000LL)) << 31);
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant
2014-12-23 22:24 [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant Peter Maydell
@ 2014-12-24 0:03 ` Bastian Koppelmann
2015-01-19 15:21 ` Peter Maydell
0 siblings, 1 reply; 4+ messages in thread
From: Bastian Koppelmann @ 2014-12-24 0:03 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 12/23/2014 10:24 PM, Peter Maydell wrote:
> Add a missing ULL suffix to a 64 bit constant: this suppresses a
> compiler warning from mingw32 gcc.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> target-tricore/op_helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks, applied it to my tricore-next branch.
Cheers,
Bastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant
2014-12-24 0:03 ` Bastian Koppelmann
@ 2015-01-19 15:21 ` Peter Maydell
2015-01-19 16:34 ` Bastian Koppelmann
0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2015-01-19 15:21 UTC (permalink / raw)
To: Bastian Koppelmann; +Cc: QEMU Developers
On 24 December 2014 at 00:03, Bastian Koppelmann
<kbastian@mail.uni-paderborn.de> wrote:
>
> On 12/23/2014 10:24 PM, Peter Maydell wrote:
>>
>> Add a missing ULL suffix to a 64 bit constant: this suppresses a
>> compiler warning from mingw32 gcc.
>>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>> ---
>> target-tricore/op_helper.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
> Thanks, applied it to my tricore-next branch.
Ping?
(I'm putting together a "miscellaneous stuff from me that's
got forgotten" pull, so I could put it in that if you don't
have any other tricore stuff queued and don't want to do a
pullreq for a one line fix.)
-- PMM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant
2015-01-19 15:21 ` Peter Maydell
@ 2015-01-19 16:34 ` Bastian Koppelmann
0 siblings, 0 replies; 4+ messages in thread
From: Bastian Koppelmann @ 2015-01-19 16:34 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers
On 01/19/2015 03:21 PM, Peter Maydell wrote:
> On 24 December 2014 at 00:03, Bastian Koppelmann
> <kbastian@mail.uni-paderborn.de> wrote:
>> On 12/23/2014 10:24 PM, Peter Maydell wrote:
>>> Add a missing ULL suffix to a 64 bit constant: this suppresses a
>>> compiler warning from mingw32 gcc.
>>>
>>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>>> ---
>>> target-tricore/op_helper.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>> Thanks, applied it to my tricore-next branch.
> Ping?
Hi Peter,
> (I'm putting together a "miscellaneous stuff from me that's
> got forgotten" pull, so I could put it in that if you don't
> have any other tricore stuff queued and don't want to do a
> pullreq for a one line fix.)
thanks for the effort, but it is not forgotten. I'm still working on a
patchset for the next pullreq. I'm sending the patchset to the list this
week and depending on Richards feedback I will send a pullreq this or
next week , but it is hard to tell. If this is too long for you, feel
free to add your patch to the misc pull.
Cheers,
Bastian
> -- PMM
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-19 15:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23 22:24 [Qemu-devel] [PATCH] target-tricore: Add missing ULL suffix on 64 bit constant Peter Maydell
2014-12-24 0:03 ` Bastian Koppelmann
2015-01-19 15:21 ` Peter Maydell
2015-01-19 16:34 ` Bastian Koppelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).