<page_title> BMW 5 Series (E34) </page_title> <section_title> Petrol </section_title> <table> <cell> M5 <col_header> Model </col_header> </cell> <cell> S38B36 6-cyl <col_header> Engine </col_header> </cell> <cell> 232 kW (311 hp) at 6,900 rpm <col_header> Power </col_header> </cell> <cell> S38B38 6-cyl <col_header> Years </col_header> </cell> <cell> 250 kW (335 hp) at 6,900 rpm <col_header> Engine </col_header> </cell> </table>
The E34 M5 was originally available in an S38 6-cyl engine with an output of 232 kW (311 hp) and later upgraded to produce 250 kW (335 hp).