# 使用 Homebrew 安装 vc4asm

查看 vc4asm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:vc4asm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vc4asm
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:vc4asm
- **软件包管理器:** Homebrew
- **版本:** 0.3
- **来源摘要:** Macro assembler for Broadcom VideoCore IV aka Raspberry Pi GPU
- **主页:** <https://maazl.de/project/vc4asm/doc/index.html>
- **仓库:** <https://github.com/maazl/vc4asm>
- **最后更新:** 2026-07-10T10:03:53-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vc4asm (别名)
- vc4dis (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.3
## 项目历史与用法

vc4asm is a niche macro assembler and disassembler for the Broadcom VideoCore IV QPU used in early Raspberry Pi systems. Its historical importance is tied less to broad adoption and more to a specific moment in Raspberry Pi GPU hacking, when public documentation and community reverse-engineering made hand-written QPU programs practical.

### 项目历史

The official vc4asm documentation describes the project as a full-featured macro assembler and disassembler with constraint checking for VideoCore IV. It explicitly builds on Pete Warden's qpu-asm, Eman's earlier work, and ideas from Herman H. Hermitage, while adding higher-level assembler features such as macros and functions.

Raspberry Pi highlighted vc4asm on January 2, 2015, after Broadcom's February 2014 release of complete VideoCore IV GPU documentation. That announcement placed vc4asm in the wave of community tools that followed the documentation release and made QPU compute experiments more accessible.

### 采用历史

vc4asm appears to have remained a specialist Raspberry Pi GPU programming tool rather than a broad developer platform. Its audience is people writing or inspecting VideoCore IV QPU code, especially in the style of the Raspberry Pi hello_fft examples, not general-purpose ARM or GPU developers.

The package matters in package-manager collections because it preserves a historically useful command-line assembler/disassembler for an otherwise unusual target. Installing it through Homebrew gives modern macOS users a convenient way to experiment with or study VideoCore IV assembly without rebuilding the old Raspberry Pi-centered toolchain by hand.

### 使用方式

The `vc4asm` command assembles QPU assembly files into binary output, ARM-compatible ELF object output, or C/C++ source fragments that can be included by host-side programs. The companion `vc4dis` command disassembles binary or hexadecimal QPU instruction streams back into assembly.

Typical use is close to systems research and embedded experimentation: write QPU kernels, include shared definitions, check VideoCore IV instruction constraints, generate a binary or host-linkable object, and then run that code through Raspberry Pi GPU access mechanisms.

### 为什么软件包爱好者会关心

vc4asm is package-nerd interesting because it packages a tiny, hardware-specific language toolchain for an architecture most users never compile for directly. It is the kind of utility that keeps a small hardware community reproducible after the original blog posts, forum threads, and sample code age.

Its lineage also captures a classic open-hardware-adjacent pattern: unofficial tools and reverse-engineered notes appear first, vendor documentation lands later, and package managers eventually preserve the usable command-line artifacts.

### 时间线

- 2014-02-28: Broadcom releases complete VideoCore IV GPU documentation, making public QPU tool work more practical.
- 2015-01-02: Raspberry Pi publishes a vc4asm announcement, crediting Marcel Mueller and noting its macro/function support.
- 2015: vc4asm 0.3 is documented as the current version on the official project page.

### Related projects

- Pete Warden's qpu-asm is named by the vc4asm documentation as a direct predecessor.
- Herman H. Hermitage's VideoCore IV QPU work is cited by vc4asm as an influence and records the pre-documentation reverse-engineering context.
- Raspberry Pi hello_fft examples served as practical reference material for QPU programs and are mentioned by the vc4asm documentation.

### 来源

- <https://docs.broadcom.com/doc/12358545>
- <https://github.com/hermanhermitage/videocoreiv-qpu>
- <https://maazl.de/project/vc4asm/doc/index.html>
- <https://www.raspberrypi.com/news/new-qpu-macro-assembler/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

View the package source record on GitHub. [combined/vc4asm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vc4asm.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
