The 3770 is a little more powerful stock (figure about 7% more). However, the 1400 is unlocked so you could throw a slight overclock on it and it would close the gap or even exceed the 3770 FOR MULTI-THREAD AWARE APPLICATIONS. However, single core of the 3770 will be tough to beat with the 1400, so gaming performance "could" be better with a 3770. That said, if any, you're probably talking about 1-3FPS. The ryzen could even be better due to newer and more advanced processing architecture in general.
Ultimately, you wouldn't be doing much of an upgrade jumping to a Ryzen 1400 from a 3770 from a CPU perspective. Your benefits of making that jump would just be in features like gaining USB 3.1 (pending the motherboard) and NVMe storage and things like that. If you want to get more out of your CPU, look to go to a 1600 on X370 or B350 and throw a little overclock on it.