diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2003-06-17 13:40:37 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-06-17 09:40:37 -0400 |
commit | 8419b6757b44f0bb3d8bd20e50197576fbdcb927 (patch) | |
tree | f293a8ae80045a6c99e497f0fe018458b204b404 /gcc | |
parent | 2a352ff13dbafd40dc1224c8a48f993d196ae433 (diff) | |
download | gcc-8419b6757b44f0bb3d8bd20e50197576fbdcb927.tar.gz |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 114ffd81e48..1dfed6281e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 && diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index b7f9b289caa..dd9426870fb 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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: |