Plaster
New
List
Login
text
apl
aspx
asterisk
brainfuck
c
c++hdr
c++src
cassandra
ceylon
clojure
clojurescript
cmake
cobol
coffeescript
common-lisp
crystal
csharp
css
cypher-query
cython
d
dart
diff
django
dockerfile
dylan
ebnf
ecl
ecmascript
edn
eiffel
ejs
elm
erb
erlang
ez80
factor
fcl
feature
forth
fortran
fragment
gfm
go
gql
groovy
gss
haml
handlebars-template
haskell
haxe
hive
html
http
httpd-php
httpd-php-open
hxml
ini
java
javascript
json
jsp
jsx
julia
kotlin
latex
less
literate-haskell
lua
mariadb
markdown
mbox
mirc
mscgen
msgenny
mssql
mumps
mysql
n-triples
nesc
nginx-conf
nsis
objectivec
octave
oz
pascal
perl
pgp
pgp-keys
pgp-signature
pgsql
php
pig
plsql
properties
protobuf
puppet
python
q
rpm-changes
rpm-spec
rsrc
ruby
rustsrc
sas
sass
scala
scheme
scss
sieve
slim
smarty
solr
soy
sparql-query
spreadsheet
sql
squirrel
stex
styl
swift
systemverilog
tcl
textile
tiddlywiki
tiki
tlv
tornado
ttcn-asn
ttcn-cfg
turtle
twig
typescript
typescript-jsx
vb
vbscript
velocity
verilog
vertex
vhdl
vue
webidl
xml
xml-dtd
xquery
xu
yaml
z80
default
Visibility:
public
unlisted
private
(defmethod lap-prepass (backend-function (instruction ir:make-dx-typed-vector-instruction) uses defs) (setf (gethash instruction *prepass-data*) (allocate-stack-slots (1+ (ir:make-dx-typed-vector-size instruction)) :aligned t :livep (eql (sys.int::specialized-array-definition-type (ir:make-dx-typed-vector-type instruction)) 't)))) (defmethod emit-lap (backend-function (instruction ir:make-dx-typed-vector-instruction) uses defs) (let* ((slots (gethash instruction *prepass-data*)) (size (ir:make-dx-typed-vector-size instruction)) (words (1+ size))) (when (oddp words) (incf words)) ;; Initialize the header. (load-literal :x9 (logior (ash (ir:make-dx-typed-vector-size instruction) sys.int::+object-data-shift+) (ash (sys.int::specialized-array-definition-tag (ir:make-dx-typed-vector-type instruction)) sys.int::+object-type-shift+))) (emit-stack-store :x9 (+ slots words -1)) ;; Generate pointer. (load-literal :x9 (+ (- (* (1+ (+ slots words -1)) 8)) sys.int::+tag-object+)) (emit `(lap:add ,(ir:make-dx-typed-vector-result instruction) :x29 :x9)) ;; Possibly zero fill. (when (ir:make-dx-typed-vector-zero-fill-p instruction) ;;;;;; What is emmited here? (emit ))))