DOKK / manpages / debian 12 / libimager-perl / Imager::Regops.3pm.en
Imager::Regops(3pm) User Contributed Perl Documentation Imager::Regops(3pm)

Imager::Regops - generated information about the register based virtual machine

  use Imager::Regops;
  $Imager::Regops::Attr{$opname}->{opcode} # opcode for given operator
  $Imager::Regops::Attr{$opname}->{parms} # number of parameters
  $Imager::Regops::Attr{$opname}->{types} # types of parameters
  $Imager::Regops::Attr{$opname}->{func} # operator is a function
  $Imager::Regops::Attr{$opname}->{result} # r for numeric, p for pixel result
  $Imager::Regops::MaxOperands; # maximum number of operands

This module is generated automatically from regmach.h so we don't need to maintain the same information in at least one extra place.

At least that's the idea.

Tony Cook, tony@develop-help.com

perl(1), Imager(3), http://imager.perl.org/

2023-01-11 perl v5.36.0