• kmillikin@chromium.org's avatar
    Initial port of top-level code generator to ARM. For the constant · 11d9e7ff
    kmillikin@chromium.org authored
    true at the top level we generate:
    
      0  stmdb sp!, {r1, r8, fp, lr}
      4  add fp, sp, #8
      8  ldr ip, [r10, #+4]
     12  ldr r2, [r10, #+0]
     16  str ip, [sp, #-4]!
     20  add lr, pc, #4
     24  cmp sp, r2
     28  ldrcc pc, [pc, #+68]        ;; code: STUB, StackCheck, minor: 0
     32  ldr ip, [pc, #+68]          ;; object: 0xf5bc4161 <true>
     36  str ip, [sp, #-4]!
     40  ldr ip, [sp, #+0]
     44  str ip, [fp, #-12]
     48  add sp, sp, #4
     52  ldr ip, [fp, #-12]
     56  str ip, [sp, #-4]!
     60  ldr r0, [sp], #+4
     64  mov sp, fp                  ;; js return
     68  ldmia sp!, {fp, lr}
     72  add sp, sp, #4
     76  bx lr
     80  ldr r0, [r10, #+4]
     84  mov sp, fp                  ;; js return
     88  ldmia sp!, {fp, lr}
     92  add sp, sp, #4
     96  bx lr
    100  constant pool begin
    104  constant
    108  constant
    
    Review URL: http://codereview.chromium.org/264067
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3073 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    11d9e7ff
Name
Last commit
Last update
..
README.txt Loading commit data...
arm.vsprops Loading commit data...
common.vsprops Loading commit data...
d8.vcproj Loading commit data...
d8_arm.vcproj Loading commit data...
d8_x64.vcproj Loading commit data...
d8js2c.cmd Loading commit data...
debug.vsprops Loading commit data...
ia32.vsprops Loading commit data...
js2c.cmd Loading commit data...
release.vsprops Loading commit data...
v8.sln Loading commit data...
v8.vcproj Loading commit data...
v8_arm.sln Loading commit data...
v8_arm.vcproj Loading commit data...
v8_base.vcproj Loading commit data...
v8_base_arm.vcproj Loading commit data...
v8_base_x64.vcproj Loading commit data...
v8_cctest.vcproj Loading commit data...
v8_cctest_arm.vcproj Loading commit data...
v8_cctest_x64.vcproj Loading commit data...
v8_mksnapshot.vcproj Loading commit data...
v8_mksnapshot_x64.vcproj Loading commit data...
v8_process_sample.vcproj Loading commit data...
v8_process_sample_arm.vcproj Loading commit data...
v8_process_sample_x64.vcproj Loading commit data...
v8_shell_sample.vcproj Loading commit data...
v8_shell_sample_arm.vcproj Loading commit data...
v8_shell_sample_x64.vcproj Loading commit data...
v8_snapshot.vcproj Loading commit data...
v8_snapshot_cc.vcproj Loading commit data...
v8_snapshot_cc_x64.vcproj Loading commit data...
v8_snapshot_x64.vcproj Loading commit data...
v8_x64.sln Loading commit data...
v8_x64.vcproj Loading commit data...
x64.vsprops Loading commit data...