Re: [PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-29 Thread Daniel Kiper
On Mon, Mar 29, 2021 at 11:33:11AM -0700, Khem Raj wrote: > On Mon, Mar 29, 2021 at 3:24 AM Andreas Schwab wrote: > > On Mär 28 2021, Khem Raj wrote: > > > this makes the type promotions clear and explicit > > > It was already typecasted to long but was accidentally dropped in [1] > > > > Note tha

Re: [PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-29 Thread Khem Raj
On Mon, Mar 29, 2021 at 3:24 AM Andreas Schwab wrote: > > On Mär 28 2021, Khem Raj wrote: > > > this makes the type promotions clear and explicit > > It was already typecasted to long but was accidentally dropped in [1] > > Note that long is 32-bit on riscv32, so the title is misleading (there > w

Re: [PATCH] RISC-V: Restore the typcast to 64bit type

2021-03-29 Thread Andreas Schwab
On Mär 28 2021, Khem Raj wrote: > this makes the type promotions clear and explicit > It was already typecasted to long but was accidentally dropped in [1] Note that long is 32-bit on riscv32, so the title is misleading (there was no cast to 64-bit type before). The cast really was a no-op, as i