That is a somewhat loaded question. Why?
I would wager that a 3.8 SSD on a A300 will perform better than on the Aff8040.
A300 has 12Gb SAS built in. Sure you can get a 12Gb SAS for the 8040
The Processors are 2 generations newer, the RAM is different.
Additionally, on average, ONTAP generally get more IOPs per drive/SSD than most others.
What is the workload?
We could go on an on.
You could just use HWU, look up the SSD and get the "manufacturer" specs on the drives.
I'd just go for selling the new gear and try not to even compare to the old stuff.
I did a bake off a couple years back with a AFF8060 w 36x960G SSDs and I BEAT IT with a A200 with 12 1.8 SSDs!