view tools/regs_use.pl @ 867:33d00c6b2a7e

In ARG_ORDER==NORMAL, max_freg computation is wrong in i64
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 01 Apr 2014 01:57:36 +0900
parents 7c3d8237b625
children
line wrap: on
line source

#!/usr/bin/perl
$d = 0;
while(<>) {
   s/get_register\(\d*\)/get_register($d)/g;
   s/get_lregister\(\d*\)/get_lregister($d)/g;
   $d++;
   print;
}