From c847bfb6c88258fa97620adb77a58583d4a072c8 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 3 Apr 1989 16:16:10 +0000 Subject: [PATCH] improved ASP patterns --- mach/m68020/ncg/table | 7 ++++++- mach/m68k2/ncg/table | 7 ++++++- mach/m68k4/ncg/table | 7 ++++++- mach/moon3/ncg/table | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/mach/m68020/ncg/table b/mach/m68020/ncg/table index 06bf5f219..9f0a2d8bd 100644 --- a/mach/m68020/ncg/table +++ b/mach/m68020/ncg/table @@ -3858,7 +3858,12 @@ with exact STACK * Group 15: miscellaneous instructions * ************************************************/ -pat asp small($1) +pat asp $1==4 +with any-pre_post +with STACK + gen add_l {const, $1}, sp +pat asp $1==8 +with any-pre_post any-pre_post with STACK gen add_l {const, $1}, sp pat asp diff --git a/mach/m68k2/ncg/table b/mach/m68k2/ncg/table index 06bf5f219..9f0a2d8bd 100644 --- a/mach/m68k2/ncg/table +++ b/mach/m68k2/ncg/table @@ -3858,7 +3858,12 @@ with exact STACK * Group 15: miscellaneous instructions * ************************************************/ -pat asp small($1) +pat asp $1==4 +with any-pre_post +with STACK + gen add_l {const, $1}, sp +pat asp $1==8 +with any-pre_post any-pre_post with STACK gen add_l {const, $1}, sp pat asp diff --git a/mach/m68k4/ncg/table b/mach/m68k4/ncg/table index 06bf5f219..9f0a2d8bd 100644 --- a/mach/m68k4/ncg/table +++ b/mach/m68k4/ncg/table @@ -3858,7 +3858,12 @@ with exact STACK * Group 15: miscellaneous instructions * ************************************************/ -pat asp small($1) +pat asp $1==4 +with any-pre_post +with STACK + gen add_l {const, $1}, sp +pat asp $1==8 +with any-pre_post any-pre_post with STACK gen add_l {const, $1}, sp pat asp diff --git a/mach/moon3/ncg/table b/mach/moon3/ncg/table index 06bf5f219..9f0a2d8bd 100644 --- a/mach/moon3/ncg/table +++ b/mach/moon3/ncg/table @@ -3858,7 +3858,12 @@ with exact STACK * Group 15: miscellaneous instructions * ************************************************/ -pat asp small($1) +pat asp $1==4 +with any-pre_post +with STACK + gen add_l {const, $1}, sp +pat asp $1==8 +with any-pre_post any-pre_post with STACK gen add_l {const, $1}, sp pat asp -- 2.34.1