Mateusz Guzik 12360b3079 amd64: depessimize copyinstr_smap
The stac/clac combo around each byte copy is causing a measurable
slowdown in benchmarks. Do it only before and after all data is
copied. While here reorder the code to avoid a forward branch in
the common case.

Note the copying loop (originating from copyinstr) is avoidably slow
and will be fixed later.

Reviewed by:	kib
Approved by:	re (gjb)
Differential Revision:	https://reviews.freebsd.org/D17063
2018-09-06 19:42:40 +00:00
..
2018-09-06 19:42:40 +00:00
2018-08-28 18:50:34 +00:00
2018-09-03 14:43:16 +00:00
2018-08-24 15:00:36 +00:00
2018-08-23 13:21:01 +00:00
2018-09-06 18:51:52 +00:00
2018-07-15 00:31:17 +00:00
2018-07-19 10:14:52 +00:00