aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/op_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2015-06-17sim: syscall: add common sim_syscall helpersMike Frysinger1-34/+21
Many ports have the same sim syscall logic, so add some helpers to handle all the common details. The arches still have to deal with the unpacking and packing of the syscall arguments, but the rest of the sim<->callback glue is now shared.
2015-06-17sim: syscall: unify memory helpersMike Frysinger1-24/+4
Almost every port implements these two callbacks in the same way, so unify them in the common layer.
2015-06-11sim: mn10300: delete unused memory codeMike Frysinger1-3/+0
Only one place used get_word/put_word, so inline the usage there. All the rest is dead code so trim it.
2015-06-11sim: mn10300: delete unused exception/exited/debug stateMike Frysinger1-9/+2
The syscall path was the only code checking the custom exception state after recent cleanups. Once we change that to the common engine halt function, we can delete that state entirely. This also helps highlight some other dead code that we can cull.
2004-06-26* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypesAlexandre Oliva1-1/+1
and definitions to ISO C.
2000-05-18* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,Alexandre Oliva1-10/+10
genericXor, genericBtst): Use `unsigned32'. * op_utils.c: Likewise. * mn10300.igen, am33.igen: Use `unsigned32', `signed32', `unsigned64' or `signed64' where type width is relevant.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+227