gentune.sh
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· Shell 代码 · 共 13 行
SH
13 行
#!/bin/sh# Generate arm-tune.md, a file containing the tune attribute from the list of # CPUs in arm-cores.defecho ";; -*- buffer-read-only: t -*-"echo ";; Generated automatically by gentune.sh from arm-cores.def"allcores=`awk -F'[(, ]+' '/^ARM_CORE/ { cores = cores$3"," } END { print cores } ' $1`echo "(define_attr \"tune\""echo " \"$allcores\"" | sed -e 's/,"$/"/'echo " (const (symbol_ref \"arm_tune\")))"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?