Using Wikipedia, searched for Exx, followed chart on those pages.
I should have listed bhp, not HP - didn't notice that; corrected below.
Used listed curb weight, averaged specs in most cases.
E30
(b)HP: 168/192
/
325i/is/ix 1985-1993 M20B25 6-cyl 125 kW (168 bhp) at 5,800 rpm** 222 N⋅m (164 lb⋅ft) at 4,000 rpm**
M3 /M3 Evo 1 1986-1987 S14B23 4-cyl 143 kW (192bhp) at 6,750 rpm 230 N⋅m (170 lb⋅ft) at 4,750 rpm
I didn't include later models with more hp
Curb weight 1,080–1,200 kg (2,380–2,650 lb)
/
Curb: 2500
# / (b)HP: 14.9-13.0
E46
(b)HP: 190/335
/
328i / 328ci[29] 1998–2000 M52TUB28 inline-6 142 kW (190 hp) 280 N⋅m (207 lb⋅ft)
M3 (US)[38] 2000–2006 S54B32 inline-6 248 kW (333 hp) 355 N⋅m (262 lb⋅ft) [*I rounded to 335]
Curb weight 1,385–1,770 kg (3,053–3,902 lb)
[I took the middle road here, but I think that's a huge range for curb weight]
/
Curb: 3400
# /(b)HP: 17.9-10.2**
[** corrected]