This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: RX: Set the flags when performing a shift by zero


On Wednesday 26 June 2013 06:35:57 Nick Clifton wrote:
>   The patch below fixes a problem with the RX simulator's handling of
>   shift instructions.  If the shift was by 0 the simulator would not set
>   the condition code bits.  The RX ISA allows a shift of 0, and the
>   condition codes should be set.  Fixing this also resolves an
>   unexpected failure in the GCC testsuite (builtin-bitops.c) where gcc's
>   compilation of the ffs() function relies upon the flag setting
>   behaviour.

hmm, the rx sim is missing any sort of testsuite.  might be a good time to 
start fixing that ? :)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]