Annotated C-family Language -> Spir-V compiler
  • C 84.2%
  • C++ 14.7%
  • CMake 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dalmurii ff51c6b5ba add: newton–raphson builtin math functions placeholder
Changes to be committed:
	- modified:   CMakeLists.txt
	- modified:   lib/aclexpr/carve.c
	- new file:   lib/aclexpr/carve/op1/rsqrtf_nr.c
	- new file:   lib/aclexpr/carve/op1/rsqrtf_nr.h
	- new file:   lib/aclexpr/visit/opn/nrmath.c
	- new file:   lib/aclexpr/visit/opn/nrmath.h
	- new file:   lib/aclexpr/visit/opn/nrmath/api.h
	- new file:   lib/aclexpr/visit/opn/nrmath/op1/rsqrt.c
	- new file:   lib/aclexpr/visit/opn/nrmath/op1/rsqrt.h
2026-10-24 14:17:28 +09:00
cfg UPDATE: named aclspvABI to aclspv and added commmon for headers 2026-05-06 00:53:04 +09:00
cmake fix: made file extension of cl -> c to get rid of 2026-10-16 22:43:12 +09:00
example fix: made aclexpr::opbincfg's initiation properly 2026-10-21 01:30:59 +09:00
inc refactour: simplified arithmetic(simd) type casting by unifying the handle. 2026-10-20 05:14:05 +09:00
lib add: newton–raphson builtin math functions placeholder 2026-10-24 14:17:28 +09:00
src refactour: removed deprecated util/constant.h 2026-10-22 12:23:36 +09:00
test add: push constant with storage buffer 2026-10-19 01:03:42 +09:00
.gitignore gitignore, mallocfree 2026-05-30 04:17:02 +09:00
aclang.ko-kr.md add: aclang.ko-kr.md 2026-10-20 20:25:03 +09:00
aclang.md add : aclspv_execmode 2026-10-17 23:50:26 +09:00
CMakeLists.txt add: newton–raphson builtin math functions placeholder 2026-10-24 14:17:28 +09:00
LICENSE change LICENSE 2026-10-09 02:09:53 +09:00
LICENSE-llvm UPDATe 2025-12-26 02:30:12 +09:00
README.md feat(aclcur): implement complete view-based access and SSA tracking 2026-10-14 22:52:02 +09:00

Warning

it is incomplete project. please keep your expectation of this application low.

aclspv

summary

  • this project is written in strict iso c90 to make this project as portable and stable as possible in my knowledge.
  • this project could be compiled in higher version or dialect of c to increase its performance.
  • this project compiles c-family language with annotation attributes to SPIR-V compiler library. -
  • this project is can generate flexible form of entry points.
  • uses clang-c as frontend to generate ast.
  • list of attribute specs is written here

tree

  • lib for library source to be compiled
  • inc for library header
  • src is for dsl of generated headers.

how to build

cmake -S. -Bbuild
cmake --build build

dependency

  • cmake >= 3.10
  • c compiler which compiles iso c90 or later which supports compile definition (-D)
  • libclang >= 17

license