summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/div64.h
Commit message (Collapse)AuthorAgeFilesLines
* mn10300: Remove the architectureDavid Howells2018-03-091-115/+0
| | | | | | | | | | Remove the MN10300 arch as the hardware is defunct. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David Howells <dhowells@redhat.com> cc: Masahiro Yamada <yamada.masahiro@socionext.com> cc: linux-am33-list@redhat.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* MN10300: gcc 4.6 vs am33 inline assemblyRichard Henderson2011-03-231-4/+17
| | | | | | | | | | | | | | | | | | | GCC 4.6 explicitly represents the MDR register. It may be accessed via the "z" constraint. Perhaps more importantly, it tracks when the MDR register is clobbered and uses the RETF instruction if the incoming value is still valid. Thus it is important to (at least) clobber the MDR register in relevant inline assembly fragments, lest RETF be used incorrectly. The only instances I could find are here. There are reads of the MDR register in kernel/gdb-stub.c, but that's harmless. Although, frankly, __builtin_return_address(0) might be a better thing in those cases. Certainly MDR isn't going to contain anything else that might be useful... Signed-off-by: Richard Henderson <rth@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com>
* mn10300: add cc clobbers to asm statementsMark Salter2010-01-111-0/+2
| | | | | | | | | | | | | gcc 4.2.1 for MN10300 is more agressive than the older gcc in reordering/moving other insns between an insn that sets flags and an insn that uses those flags. This leads to trouble with asm statements which are missing an explicit "cc" clobber. This patch adds the explicit "cc" clobber to asm statements which do indeed clobber the condition flags. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Move arch headers from include/asm-mn10300/ to arch/mn10300/include/asm/.David Howells2009-04-101-0/+100
Signed-off-by: David Howells <dhowells@redhat.com>
OpenPOWER on IntegriCloud