tidy tilegx and tilepro MAX_MEM_FOR_RS_ALIGN_CODE

These weren't wrong, but should use the BUNDLE_SIZE macros, in case
they ever change.

	* config/tc-tilegx.h (MAX_MEM_FOR_RS_ALIGN_CODE): Use
	TILEGX_BUNDLE_SIZE_IN_BYTES.
	* config/tc-tilepro.h (MAX_MEM_FOR_RS_ALIGN_CODE): Use
	TILEPRO_BUNDLE_SIZE_IN_BYTES.
This commit is contained in:
Alan Modra
2025-09-02 21:45:39 +09:30
parent 74fe8e29dc
commit 97297d9462
2 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,8 @@ extern const char * tilegx_target_format (void);
#define HANDLE_ALIGN(sec, fragp) tilegx_handle_align (fragp)
extern void tilegx_handle_align (struct frag *);
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (7 + 8)
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) \
(2 * TILEGX_BUNDLE_SIZE_IN_BYTES - 1)
struct tilegx_operand;
#define TC_FIX_TYPE const struct tilegx_operand *

View File

@@ -42,7 +42,8 @@
#define HANDLE_ALIGN(sec, fragp) tilepro_handle_align (fragp)
extern void tilepro_handle_align (struct frag *);
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (7 + 8)
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) \
(2 * TILEPRO_BUNDLE_SIZE_IN_BYTES - 1)
struct tilepro_operand;
#define TC_FIX_TYPE const struct tilepro_operand *