File:  [gforth] / gforth / arch / amd64 / testdisasm.sed
Revision 1.2: download - view: text, annotated - select for diffs
Thu Aug 12 21:22:47 2010 UTC (13 years, 8 months ago) by dvdkhlng
Branches: MAIN
CVS tags: HEAD
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...>/


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>