History log of /gem5/src/arch/arm/isa/formats/mult.isa
Revision Date Author Comments
# 12595:b5a51007feac 19-Feb-2018 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>

arm: Fix implicit-fallthrough warnings when building with gcc-7+

gcc 7 onwards have additional heuristics to detect implicit
fallthroughs and it fails the build with warnings for ARM as a result.
There was one gcc bug[1] that I fixed but the rest are cases that gcc
cannot detect due to the point at which it does the fallthrough check.
Most of this patch adds __builtin_unreachable() hints in places that throw
this warning to indicate to gcc that the fallthrough will never
happen.

The remaining cases are actually possible fallthroughs due to
incorrect code running on the simulator; in which case an Unknown
instruction is returned.

[1] https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01105.html

Change-Id: I1baa9fa0ed15181c10c755c0bd777f88b607c158
Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Reviewed-on: https://gem5-review.googlesource.com/8541
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>


# 8520:f9a495adafd9 19-Aug-2011 Ali Saidi <Ali.Saidi@ARM.com>

ARM: Add support for DIV/SDIV instructions.


# 7319:d4e9a5e31a38 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Implement the udiv instruction.


# 7318:64352bcff9f3 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Implement the sdiv instruction.


# 7290:ea9189fbb84f 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Make sure some undefined thumb32 instructions fault.


# 7243:d503503b3966 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Decode the usad8 and usada8 instructions.


# 7162:97fe2d298f3e 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Remove special naming for the new version of multiply.


# 7161:a1e9b36bd4bf 02-Jun-2010 Gabe Black <gblack@eecs.umich.edu>

ARM: Hook the new multiply instructions into all the decoders.