monoコンパイル完成

とりあえず十分な機能付きでコンパイルできたと思う。

$ env CFLAGS='-march=armv7-a -ftree-vectorize -mhard-float -mfloat-abi=softfp -mfpu=neon -mvectorize-with-neon-quad' CXXFLAGS='-march=armv7-a -ftree-vectorize -mhard-float -mfloat-abi=softfp -mfpu=neon -mvectorize-with-neon-quad' ./autogen.sh --prefix=/opt/mono --with-libgdiplus=installed --enable-llvm --enable-loadedllvm --enable-parallel-mark

LLVM付き+NEON SIMD拡張ありのオプション。
NEON SIMDが効くかどうかは不明。


monoのバージョン情報。

$ /opt/mono/bin/mono -V
Mono JIT compiler version 2.11 (master/b96746a 2011年 2月 3日 木曜日 15:24:44 JST)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,soft-float
Disabled: none
Misc: softdebug
LLVM: yes(2.8)
GC: Included Boehm (with typed GC and Parallel Mark)

Disableがなくなった。


readelf

$ readelf -A /opt/mono/bin/mono
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "7-A"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_FP_arch: VFPv3
Tag_Advanced_SIMD_arch: NEONv1
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_needed: 8-byte
Tag_ABI_align_preserved: 8-byte, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
Tag_DIV_use: Not allowed

NEON付き。