The Airbus A350 is even smarter. An emergency descent autopilot function is available to the crew for use. When armed the squawk is set to 7700 and TCAS set to look down. The mode is initiated by the crew by selecting speedbrake. The target altitude auto-sets to FL100 or the safest altitude above the MOA from the EGPWS terrain database and the speed bug runs to Barber's Pole -5kts. The NAV initiates a 3nm right offset (presuming the aircraft is on a NAT track). At the target altitude the level off is completed automatically with the speed-target going to Green Dot.
If an imminent cabin pressure above 14,000' is detected the Emergency Descent autopilot system arms. If the procedure is not pilot initiated within 15 seconds the system triggers. The AP/FD engages (if not already) and the sequence above is carried out completely automatically. The mode will even take the appropriate action to a TCAS RAs in descent so it's pretty damn clever.