Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1589 closed enhancement (fixed)

Enable floating point by default for iOS target

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.1
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


This ticket sets PJ_HAS_FLOATING_POINT to 1 in config_site_sample.h. Both armv6 and armv7 support single and double precision floating point in hardware.

  • The armv6 is in original iPod, iPod touch second gen, original iPhone and iPhone 3G
  • The armv7 is in iPhone 3GS and up, original iPad and up

You need to disable Thumb code generation for armv6 for faster FP operations, according to this and this discussions.

Thanks Kees van der Bent for the note.

Change History (2)

comment:1 Changed 12 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In 4274:

Close #1589: Enable floating point by default for iOS target

comment:2 Changed 12 years ago by nanang

In 4282:

Re #1589: Removed "--disable-floating-point" from "configure-iphone".

Note: See TracTickets for help on using tickets.