h8300.c (dosize): On the h8300h, do 4 byte adjustments using adds and subs.

* h8300.c (dosize): On the h8300h, do 4 byte adjustments
        using adds and subs.
        * h8300.h (LONG_LONG_TYPE_SIZE): Always make this 32bits.
        Reverses change from Apr 2, 1996.

From-SVN: r11696
This commit is contained in:
Jeff Law 1996-04-10 22:51:22 -06:00
parent b5ccf84723
commit 82fa9209b7
2 changed files with 7 additions and 2 deletions

View File

@ -133,7 +133,12 @@ dosize (file, op, size, fped)
switch (size)
{
case 4:
/* ??? TARGET_H8300H can do this in one insn. */
if (TARGET_H8300H)
{
fprintf (file, "\t%ss\t#%d,sp\n", op, 4);
size = 0;
break;
}
case 3:
fprintf (file, "\t%ss\t#%d,sp\n", op, 2);
size -= 2;

View File

@ -170,7 +170,7 @@ do { \
#define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE (TARGET_INT32 ? 32 : 16)
#define LONG_TYPE_SIZE 32
#define LONG_LONG_TYPE_SIZE (TARGET_INT32 ? 64 : 32)
#define LONG_LONG_TYPE_SIZE 32
#define FLOAT_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 32
#define LONG_DOUBLE_TYPE_SIZE DOUBLE_TYPE_SIZE