* cpu.c,sem.c,sem-switch.c: Regenerate. From

- cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
	* m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
	#include cgen-ops.h.
	* cpux.c,readx.c,semx.c: Regenerate.
	* m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
	#include cgen-ops.h.  Delete inclusion of several unnecessary headers.
	(m32r_h_accums_get): Sign extend top 8 bits.
This commit is contained in:
Doug Evans
1998-04-20 23:20:22 +00:00
parent f61321eaaf
commit 970a8fd6c3
5 changed files with 337 additions and 317 deletions

View File

@@ -664,7 +664,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
EXTRACT_FMT_MACWHI_CODE
/* Fetch the input operands for the semantic handler. */
OPRND (accum) = CPU (h_accum);
OPRND (accum) = m32rx_h_accum_get (current_cpu);
OPRND (src1) = CPU (h_gr[f_r1]);
OPRND (src2) = CPU (h_gr[f_r2]);
#undef OPRND