[gforth] / gforth / arch / amd64 / testdisasm.sed  

gforth: gforth/arch/amd64/testdisasm.sed


1 : dvdkhlng 1.1 #
2 :     # testdisasm.sed: cleanup rules for comparing testasm.fs output
3 :     #
4 :    
5 :     # drop instruction addresses
6 : dvdkhlng 1.2 s/ 0x[0-9a-f]\+://
7 :    
8 :     # drop branch target addresses
9 :     s/\([ \t]\+call.*\|j.*\|loop.*\)[ \t]\+0x[0-9a-f]\+/\1 <addr...>/
10 : dvdkhlng 1.1

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help