Well, the oil's you mentioned above are formulated so that they can be used in diesels (given it matches the specs required), and gasoline engines - often mentioned as being great for mixed fleet needs.
Talking about oils that are specific and only meeting the needs of a diesel or a gasoline engine, things start to happen.
Diesel spec. oil's tend to be high in sulfur additives I think, which lends them to have a higher test value for sulfated ash. This might be attributed to additive compounds liken to detergency and dispersents. Also common in elevated levels of the multi-functional ZDDP (anti-weld agent, anti-oxident....). Diesel oil's also have a higher TBN or ph number to combat the acid production potential over an OCI as diesel fuel has higher sulfur content than gasoline. Using these oils in a gasoline engine from what little I've read, could lead to spark plug fouling, sensor/cat malfunction/fouling, possibly bearing corrosion (make-up specific) and tend not to favor fuel efficiency in low load situations over passenger car formulations.
Gasoline oils share many of these additives, but at reduced or disproportioned amounts because of differing fuel properties (related to impact of blow-by products), operating conditions so as to balance the limited volume add pack to best meet the needs of lubricant and lubrication needs - diesel engines spend more time in situations that benefit from extreme pressure and boundry protection adds and with such high load use, have less benefit from adds that increase low load economy. Gasoline engines on the other hand are operated for less time per start; I'm thinking considerably more running time with the oil not having reached operating temperature and thus having to deal with issues of water on a more frequent basis; have lower exhaust gas temp. averages and compression/combustion pressures; use a fuel with less potential acid forming combustion by-products; would seem to spend more time operating in situations that result in full-film/mixed film lubrication states.
It would seem that there's no perfect formula for either engine, far as it's been mentioned, the two class of fuels require different levels of attention, the two engine types not only having different fuel introduction and combustion perameters by design, but also different placement in the fields of powered industry which from my view at the present comes down to selection by load demands over the engine's useful life (diesels taking the blunt of it).
There's much more to diesel vs. gasoline engine oil, for this is only what I've come across thus far and recall at this moment.
and
.