ia64.c (ia64_expand_builtin, [...]): Handle POINTERS_EXTEND_UNSIGNED.

* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
	Handle POINTERS_EXTEND_UNSIGNED.

From-SVN: r68083
This commit is contained in:
Richard Kenner 2003-06-17 13:40:37 +00:00 committed by Richard Kenner
parent 2a352ff13d
commit 8419b6757b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
Handle POINTERS_EXTEND_UNSIGNED.
2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&

View File

@ -8253,6 +8253,9 @@ ia64_expand_builtin (exp, target, subtarget, mode, ignore)
if (! target || ! register_operand (target, DImode))
target = gen_reg_rtx (DImode);
emit_insn (gen_bsp_value (target));
#ifdef POINTERS_EXTEND_UNSIGNED
target = convert_memory_address (ptr_mode, target);
#endif
return target;
case IA64_BUILTIN_FLUSHRS: