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

gforth: gforth/arch/amd64/testdisasm.sed

File: [gforth] / gforth / arch / amd64 / testdisasm.sed (download)
Revision: 1.2, Thu Aug 12 21:22:47 2010 UTC (2 years, 9 months ago) by dvdkhlng
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -1 lines
fixed test-case to filter out branch-target addresses before diff'ing.
source cleanup&cosmetics.

#
# testdisasm.sed: cleanup rules for comparing testasm.fs output
#

# drop instruction addresses
s/ 0x[0-9a-f]\+://

# drop branch target addresses
s/\([ \t]\+call.*\|j.*\|loop.*\)[ \t]\+0x[0-9a-f]\+/\1 <addr...>/


CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help