Investigate compiling to arm thumb instruction set

RESOLVED FIXED

Status

()

Core
Build Config
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: (dormant account), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ts])

(Reporter)

Description

8 years ago
Supposedly, thumb can save up 40% of the binary size. Even if we can't compile the whole libxul as thumb(due to perf concerns) we should be able to selectively compile rarely-used code as thumb.
(Reporter)

Updated

8 years ago
Whiteboard: [ts]

Comment 1

8 years ago
Tried building with thumb but I got messages like:

xptcinvoke_arm.cpp                                                              
xptcstubs_arm.cpp                                                               
{standard input}: Assembler messages:                                           
{standard input}:223: Error: lo register required -- `ldr ip,[r5,#16]'          
{standard input}:228: Error: lo register required -- `sub sp,sp,r4'             
{standard input}:232: Error: lo register required -- `ldr ip,[r5,#20]'          
{standard input}:239: Error: lo register required -- `ldr ip,[r1,r2]'           
{standard input}:241: Error: Thumb does not support conditional execution       
{standard input}:242: Error: Thumb does not support conditional execution       
{standard input}:243: Error: Thumb does not support conditional execution       
{standard input}:244: Error: Thumb does not support conditional execution       
{standard input}:245: Error: Thumb does not support conditional execution

Comment 2

8 years ago
fixed by bug 563751
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.