ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

AGX sin_pt_1

T3 apple-gpu alu insn
Apple GPU (AGX): sin_pt_1
SourceApple GPU (AGX / G13+) ISA & Binary Encodings (dougallj/applegpu) (apple_gpu_agx)
Reliability TierT3 — Hardware-Verified
ISA / Silicon ScopeApple GPU G13+ (M1/M2/M3+ AGX)
Apple M1/M2/M3+ AGX (G13/G14/G15+)
License & VersionBSD-3-Clause
main
Upstreamhttps://github.com/dougallj/applegpu
Privilegeuser
Note: Reverse-engineered and hardware-verified on Apple M1/G13+ GPU by Dougall Johnson (dougallj/applegpu); undocumented by Apple.

Summary

sin_pt_1 is used together with sin_pt_2 and supporting ALU to compute the sine function. sin_pt_1 takes an angle around the circle in the interval [0, 4) and produces an intermediate result. This intermediate result is then passed to sin_pt_2, and the two results are multipled to give sin. The argument reduction to [0, 4) can be computed with a few ALU instructions: reduce(x) =

Syntax / Encoding

D = FloatDst(Dx:D, Dt, S)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
48AGX-G13 (48-bit)xxxxxx00000000001010xxxxxxxxxxxxxxxxxxxxxx0010100x03fff000003f / 0x0000a000000a

Operands

NameDescription
Dxbits [45:44]
Axbits [43:42]
Ambits [27:26]
Atbits [25:22]
Abits [21:16]
Dbits [14:9]
Dtbits [8:7]
Sbits [6]